This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallShield
- :
- InstallShield Forum
- :
- User32.InvalidateRect Prototype
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jul 31, 2008
04:14 AM
User32.InvalidateRect Prototype
As you may have seen in an earlier thread I am attempting to clear the "Setup Status" label on the STATUSEX dialog. Trawling the formum I have found a method using FindWindow and SetDialogText.
The problem I have is that the dialog is not repainting itself. I wish to force and InvalidateRect on the dialog but not knowing a great deal about prototypes, I can't seem to find the InstallShield data types to use.
If someone can tell me what they would be for this siganture that would be great.
BOOL InvalidateRect(
HWND hWnd, // handle to window
CONST RECT* lpRect, // rectangle coordinates BOOL bErase // erase state
);
The problem I have is that the dialog is not repainting itself. I wish to force and InvalidateRect on the dialog but not knowing a great deal about prototypes, I can't seem to find the InstallShield data types to use.
If someone can tell me what they would be for this siganture that would be great.
BOOL InvalidateRect(
HWND hWnd, // handle to window
CONST RECT* lpRect, // rectangle coordinates BOOL bErase // erase state
);
(3) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Aug 04, 2008
06:23 AM
😞 Surely there is someone who can tell me how to represent: CONST RECT* in an InstallScript prototype declaration!!
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Aug 04, 2008
09:22 AM
Please see the InstallShield help topic "Data Structures", which gives a similar example.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎May 08, 2010
03:08 PM
prototype BOOL User32.InvalidateRect( HWND, RECT POINTER, BOOL );
![](/skins/images/CC38E504FC9E1309DC48ACFEB4925670/responsive_peak/images/icon_anonymous_message.png)