- This topic has 1 reply, 2 voices, and was last updated 16 years, 7 months ago by .
Viewing 2 posts - 1 through 2 (of 2 total)
Viewing 2 posts - 1 through 2 (of 2 total)
The TWAIN Resource site is designed to help TWAIN users and prospective users find resources in the community for TWAIN-related products and services. Become a member.
Home › Forums › TWAIN Classic › find sample for dsm_entry(porigin,pdest,dg_image,dat_imagel)
hi all.i want to use dsm_entry(porigin,pdest,dg_image,dat_imagelayout,msg_set,pimagelayout)
and need sample.please help me to find sample
without an editor in hand:
TW_IMAGELAYOUT m_imageLayout;
m_imageLayout.Frame.Left = ToFix32(left);
m_imageLayout.Frame.Top = ToFix32(top);
m_imageLayout.Frame.Right = ToFix32(left + width);
m_imageLayout.Frame.Bottom = ToFix32(top + height);
DS(DG_IMAGE, DAT_IMAGELAYOUT, MSG_SET, &m_imageLayout);
(somewhat *borrowed* from dosadi.com’s ctwain.zipctwain’cpp – sorry spike)
.