Click here to Skip to main content
15,907,497 members
Please Sign up or sign in to vote.
3.00/5 (1 vote)
See more:
Hi,
We have following common dialogs:
1. Open File Dialog,
2. Page setup dialog etc.

I want get button controls and update its locations, does any body has solution for same?

Regards,
Somnath
Posted
Comments
Somnath T Avhad 21-Mar-12 7:07am    
When i use PageSetupDialog, Printer button not displaying in Vista and Windows7.

Any body have solution for this?

1 solution

That really isn't a good idea, for two reasons:
1) They are called common dialogs because they are supposed to be common to all applications.
2) The button positions (and indeed the existence of other items) varies from OS to OS. the Open File Dialog for XP is very, very different from it's cousin in Win7 - but the same code generates both. If you just move them, you may make your application unusable on some systems.

If you want to have a specific design of dialog, then create it yourself as a separate form, and use that instead.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900