Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

q about getpict()

Status
Not open for further replies.

Nifrabar

Programmer
Mar 16, 2003
1,343
NL
Hi!
When using getpict() you will not directly see the thumbnails.
Would there be a way to automate such?
Would there be a way to resize the screen (which pops up using getpict()) automaticly?
TIA
-Bart
 
Obviously no, there are no such parameters. But at least dialog position and size is saved and restored the next time you call getpict().

If you want more control, you will need to go the cumbersome way to use common dialogs via Windows API. I can't tell you if and how to influence window size, but as a start on how to invoke a common dialog for open file (of which the picture dialog is just a special case) look here:


Besides loComDialog.Filter intelisense tells me you can get a hDC at least. I fear you rather need the hWND window handle to use API functions to influnce the window size and position.

Bye, Olaf.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top