Restored from previous forum. Originally posted by effigy.
I am having a problem with my gadgets displaying properly.
First I create an image (just a white box). Then I display that image
as a Imagegadget.
Next I create a number of textgadgets which go over top of the imagegadget.
Here is the problem.
If I create the imagegadget first, then all the text gadgets don't show until I minimie and refresh the screen.
If I create the Text gadgets first, then they show fine, but if I minimize the screen the restore it, they disappear.
Is this a bug???
Thanks for the help.
Derek
Gadget Refresh Problem
-
BackupUser
- PureBasic Guru

- Posts: 16777133
- Joined: Tue Apr 22, 2003 7:42 pm
-
BackupUser
- PureBasic Guru

- Posts: 16777133
- Joined: Tue Apr 22, 2003 7:42 pm
Restored from previous forum. Originally posted by Pupil.
Gadgets is not really supposed to overlap each other, but anyway try this on the textgadgets after all your gadgets are created and see if it helps:
Gadgets is not really supposed to overlap each other, but anyway try this on the textgadgets after all your gadgets are created and see if it helps:
Code: Select all
RedrawWindow_(GadgetID(#YourGadgetNumber), 0, 0, #RDW_INVALIDATE)
-
BackupUser
- PureBasic Guru

- Posts: 16777133
- Joined: Tue Apr 22, 2003 7:42 pm
-
BackupUser
- PureBasic Guru

- Posts: 16777133
- Joined: Tue Apr 22, 2003 7:42 pm