In TWAINhandler.cpp (by Apple Inc.) and the relevant files, I get all
that nice stuff to access a TWAIN data source etc. in my app.
The following line in TWAINHandler::selectDS() e.g. opens the 'Select
Device' window provided by Mac OS X:
DSM_Entry(&mAppIdentity, NULL, DG_CONTROL, DAT_IDENTITY, MSG_USERSELECT,
(TW_MEMREF)&newDSIdentity);
But until I don't know how to check first, if there are any TWAIN
devices available at all, before I open this window, it even opens
without any device (causing silly results when the user clicks on
"Select" or the red closer button in the window title bar).
How do I check if at least one TWAIN device is available?
Regards,
UlfDunkel
_______________________________________________
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com
This email sent to [EMAIL PROTECTED]