How to add user defined buttons to Property Sheet?
-
Hi In my property sheet, i disabled all default property sheet buttons. Now i want to add my own buttons to Property sheet. How to implement this? Thanks JP ALL THINGS ARE POSSIBLE UNTIL THEY ARE PROVED IMPOSSIBLE-AND EVEN THE IMPOSSIBLE MAY ONLY BE SO,AS OF NOW
-
Hi In my property sheet, i disabled all default property sheet buttons. Now i want to add my own buttons to Property sheet. How to implement this? Thanks JP ALL THINGS ARE POSSIBLE UNTIL THEY ARE PROVED IMPOSSIBLE-AND EVEN THE IMPOSSIBLE MAY ONLY BE SO,AS OF NOW
There is no easy way - you will have to add it one-be-one, after getting pointer to sheet window itself. I have not used it for a long time, but probably you have to do it from OnInitDialog. I'm using my own class, which is dialog based (so you use template for it), and handles switches of pages. Here is screenshot of typical complex dialog example, using this approach: http://www.grigsoft.com/ws000.gif[^]. If somebody is interested, I could probably post an article on CP about it - I will just clean up the code a bit. Igor Green http://www.grigsoft.com/ - files and folders comparison tools