I have a dialog which contains property sheet and this sheet has property pages.
my dialog has pushlike radio button .
now I am adding one more property page which has an editbox cotrol dynamically to property sheet.
every thing added n show properly . Now when I am at my dynamically added page and click on the parent dialog's radio button then my application hung (seems like entered in infinite loop) and I have kill my app.
pls suggest solution apporach.
I wrote a property sheet with some edit fields and combo boxes on one page. I don't want the user to leave this page by choosing another page or apply or OK if the data of these items are not plausible. I can catch the application killing the focus on these items but I cannot prevent it from leaving the page or the sheet at all. Moreover, if I issue a message "data not correct" on KILLFOCUS, this happens even then, if the user wants to cancel the whole sheet. Do you know a solution?
Thanks in advance.
I was wondering if anyone knew how to add the "Connect to Server" property page that comes up when, for example, one clicks on the Computer Management node or other nodes. I am trying to create a customized MMC snapin and I am looking for some help as to how to add on the "Connect to Server" dialog box when the user adds the MMC snapin. I am also using the Visual Basic designer. Any help is much appreciated. Thank you.
Initializing Pages with value in Registry(like Properties)
Posted by Legacy
on 07/26/2002 12:00am
Originally posted by:
I am trying to create a property sheet with 3-4 pages for setting options. (just like the ones you get right click desktop, then properties).
My problem is: HOW and where do I initialize the pages with the previous stored values (they are in registry and i can retrieve them).
For example, say the value in memory is 20. i have 4 radio buttons with titles 5, 10, 20, 40. I want the "20" button checked when the pages first shows. There after, that page will show whatever the user clicked just before switching pages.
Re sir i have embedde property sheet int the dialog, using CPropertySheet in OninintDialog, Now the Probs, is i have a button in Property page, on whose click, event i want many actions on the dialog, say display of Message Box, but when i have BN_CLICKED event for that button and put my code, the application hangs, plz suggest me some solutions, fast waiting eagerly for reply
I have enabled Scroll bar using EnableScrollBarCtrl function of PropertyPage but it is difficult to activate it, I cant move the pages up and down.I have even tried out by calling OnVScroll function of respective page and sheet, but iam unable to achieve it. Kindly help me out my problem.
propsheet.m_psh.dwFlags |= PSH_HASHELP;
to enable the Help button in propertysheet,but I cann't use this Help button. Could somenoe tell me how to "highlight" Help button that I can press the Help button. thanks!
Thanks for such useful information.
I have to add one more button to the already set of standard buttons.
My property sheet is dynamically created.
There is no OnInitDialog function.
Where should i put the code and also i get assertion at
It seems that i need to pass in the parent window somehow because rectWnd is empty.
I commented the OnInitDialog line as it was giving me assertion at that also.
I tried to put the code in the domodal function of the derived class and the constructor.
I didn't get any errors but the same assertions.
Do i need to derive another class and then do this in there?
Can you pl. let me know.