Jump to content


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.
Photo

How to set state of controls of a Userdialog to greyed/hide?


2 replies to this topic

Mithrilhand

Mithrilhand
  • Members
  • 2 posts

Posted 15 February 2002 - 15:55

Hi!

I am searching for a possiblity to set the state of some controls (buttons, edits) in my Userdefined Dialog to hide/grey.

Is this possible?
If so, how?

Thanks for info,
Mithrilhand


Giurcanu Daniel

Giurcanu Daniel
  • Members
  • 51 posts

Posted 15 February 2002 - 17:03

The answer is simple...using the same WINAPI functions ( like VC,VB)

A starting pont is to take a look in :
<PROGRAMMFILES>\InstallShield\InstallShield Professional 6.1 German\Include\winsub.h



Blake Miller Wonder

Blake Miller Wonder
  • Members
  • 121 posts

Posted 18 February 2002 - 19:54

Grey or not - use EnableWindow()
Grey - EnableWindow(hWindw, FALSE);
Not Grey - EnableWindow(hWindw, TRUE);

Hide or Not - use ShowWindow()
Hide - ShowWindow(hWidnow, SW_HIDE);
Show - ShowWindow(hWidnow, SW_SHOWNA);