|
-
February 9th, 2000, 02:58 PM
#1
VB Status bar not reflecting changes made by SendMessage()
Hello,
I have a designed an ActiveX control that finds the first toolbar on a form using EnumChildWindows() and then sends a SB_SETTEXT message to change the text of the status bar.
The API part works well. I am however having a problem reading and changing this new value in Visual Basic after it has been set by my ActiveX.
StatusBar.Panels(1).Text will still return the old value, and if i try to set the text to the old value from Visual Basic it's not getting refreshed as Visual Basic believes that the old value is still active.
I've found various workarounds, but I would like to know if there is a definitive solution to this problem or any good alternatives.
Best regards,
Gabriel Michaud
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|