Dear All,
I am creating custom panels using VC ++.
|I had created sepereate dlls for four edit box, three edit box with a readio button, panel containing radio button edit boxes and check boxes.
Is it possible to create multiple edit boxes with in a single panel and the number of edit boxes to display must determine at run time.
ie.If I had created a apanel with 7 edit box, I want to display only 4 among seven,
is it possible to hide 3 edit box by passing arguments to the DLL.
Pleaese advice me is it possible or not, it will reduce a lot of time.
Thanks,
prasanna N
http://www.codeminer.com/
This is a ready-only archive of the InstallSite Forum. You cannot post any new content here. / Dies ist ein Archiv des InstallSite Forums. Hier können keine neuen Beiträge veröffentlicht werden.
how to hide edit boxes in custom panel
Started by
prasankn
, Mar 22 2006 06:45
5 replies to this topic
Posted 22 March 2006 - 10:52
Have you tried the ShowWindow() WinAPI
Stefan Krüger
InstallSite.org twitter facebook
Posted 31 January 2008 - 05:50
QUOTE (Stefan Krueger @ 2006-03-22 10:52) |
Have you tried the ShowWindow() WinAPI |
Steven,
How one would use ShowWindow() API just to hide the controls on Installscript MSI project?
Could you please give me an example?
I need to hide just 2 edit boxes on my dialog box based on condition then bring em back if condition meets certain criteria and I am using IS 12.
Thanks for your help.
Posted 04 February 2008 - 16:14
Did you look up the ShowWindow topic in the help file?
Stefan Krüger
InstallSite.org twitter facebook
Posted 26 February 2008 - 18:35
This example should do it (where szDialogName has been set to your dialog name):
CODE |
HWND hwndDlg, hwndItem; . . . hwndDlg = CmdGetHwndDlg(szDialogName); hwndItem = GetDlgItem(hwndDlg, IDC_FIELDNAME); EnableWindow(hwndItem, FALSE); // not really necessary ShowWindow(hwndItem, SW_HIDE); |
Keep in mind that this is an IS6 forum.