cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
KeithO
Level 3

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
);
Labels (1)
0 Kudos
(3) Replies
KeithO
Level 3

😞 Surely there is someone who can tell me how to represent: CONST RECT* in an InstallScript prototype declaration!!
0 Kudos
RobertDickau
Flexera Alumni

Please see the InstallShield help topic "Data Structures", which gives a similar example.
0 Kudos
MisterW
Level 3

prototype BOOL User32.InvalidateRect( HWND, RECT POINTER, BOOL );
0 Kudos