Refresh 2d drawings
Posted: Mon Jul 28, 2003 12:14 pm
Hi all!
I wonder if anyone has done what I'm trying to do...?
I have an app partly developed that needs a very specific calendar type object. The kind of thing you would probably make as an activex in VB. Since I dont want the bloat of a VB activex, I'm trying to draw the control elements onto a panel gadget using the 2d commands. It's working quite well...
My problem is that the bits I'm drawing disappear when other windows move over the top of the app, or the app is moved offscreen, etc...
I've tried redrawing on event: #PB_Event_Repaint but it only seems to trap when the app has been minimised then maximised.
I've searched the forum but nothing seems quite to match my problem. Any ideas?
OS: Windows 2000, but I'd like something for any Windows...
Thanks in advance for any help you can give!
I wonder if anyone has done what I'm trying to do...?
I have an app partly developed that needs a very specific calendar type object. The kind of thing you would probably make as an activex in VB. Since I dont want the bloat of a VB activex, I'm trying to draw the control elements onto a panel gadget using the 2d commands. It's working quite well...
My problem is that the bits I'm drawing disappear when other windows move over the top of the app, or the app is moved offscreen, etc...
I've tried redrawing on event: #PB_Event_Repaint but it only seems to trap when the app has been minimised then maximised.
I've searched the forum but nothing seems quite to match my problem. Any ideas?
OS: Windows 2000, but I'd like something for any Windows...
Thanks in advance for any help you can give!