Hello all, I have developed one dialog based application. How to resize this application according to resolution set by the user for the system. The application contains seven propertysheets in wizard mode. Regards, Aj.
jadhav123
Posts
-
How to resize application acoording to system resolution set? -
How to change a font of static textHello all, I have created static text dynamically on a dialog box. But it is displaying in different font. How to change the font to normal static text. Thanks in advance Regards, Aj
-
How to access function in different classesI tried this CMain* m_Main=(CMain*)GetParent(); m_Main->Test(1); Test is function decleareed in CMainDlg; also CMainDlg.h included in child dialog class. it gives following errors; 'm_Main': identifier not found, even with argument-dependent lookup 'CMainDlg' : undeclared identifier 'm_Main' : undeclared identifier left of '->Test' must point to class/struct/union ‘CMainDlg’: identifier not found, even with argument-dependent lookup
-
How to access function in different classesThanks for reply. can you please explain in detail that will help me. I am developing dialog based application. I have written a function in main dialog class(TestDlg.cpp) on button click i am opening new dialog (Say child.cpp ) I want to access the fuction from main dialog (TestDlg.cpp) from child.cpp. How to access the function from
-
How to access function in different classesHello all I am developing dialog based application. I have written a function in main dialog class and I want to access that in other classes. How to access this function in difffernt dialogs "onInitDialog()" function regards, Aj
-
How to change property page caption in Wizard modeHello all, I have created propertysheet in wizard mode and i want to change the caption of third Wizardpage(derived from CPropertyPage) after it popups. In dialog editor i set caption of that propertypage(Say "x"). I want to change it to(say"Y") for reusability. Can anybody help me? Regards; Aj
-
How to create static text dynamically on dialogbox?Hi All, I want ot create static text on the dialog box. I wrote following code in OninitDialog function. CStatic myStatic; myStatic.Create(_T("my static"), WS_CHILD|WS_VISIBLE|SS_CENTER, CRect(15,15,150,50), this); But it doesn't work for me. Whats wrong.. can anybody help me regards, Aj
-
How to diable ok button of property sheetHello all, For certain condition in my application I want to disable ok button of property page. Can anybody please tell me how to do that? regards, Aj
-
How to validate data in property sheet.thank you very much its working
-
How to validate data in property sheet.Dear all, I am developing one application containing propertysheet. I want to validate the data that user enters in property pages. The problem I am facing is, when user enters wrong data, I validate this data in property page "OnOK" handler and corresponding message is shown to user. But when user clicks OK button on message box, message box as well as propertysheet get closed. I want this propertysheet remain open so that user can correct the wrong data entered. How to do this? Thanks in advance.
-
How to show HTML help on dialogbox?Dear all, I have .html file and i want to show the file contents on the dialogbox as error messages/ warning messages in formated way. How to implement this? thanks in advance Regards, aj