RogerL Posted April 4, 2008 Share Posted April 4, 2008 (edited) I have trimmed my program down to the minimum that still shows the problem: $hWnd = GUICreate ("", 200, 120, 550, 100 ) $tab = GUICtrlCreateTab (10, 10, 180, 100) $tab1 = GUICtrlCreateTabitem ("Options") $checkBox1 = GUICtrlCreateCheckbox ("Output captured data", 35, 60, 140, 20) GUISetState() while 1 Sleep (1000) WendIf I remove the tab creation it works fine. Have I missed something out? Edited April 4, 2008 by RogerL Link to comment Share on other sites More sharing options...
rasim Posted April 4, 2008 Share Posted April 4, 2008 Sorry i not see the problem. What the problem? Link to comment Share on other sites More sharing options...
AdmiralAlkex Posted April 4, 2008 Share Posted April 4, 2008 There is a missing GUICtrlCreateTabitem() but I dont think that's what he is meaning.... .Some of my scripts: ShiftER, Codec-Control, Resolution switcher for HTC ShiftSome of my UDFs: SDL UDF, SetDefaultDllDirectories, Converting GDI+ Bitmap/Image to SDL Surface Link to comment Share on other sites More sharing options...
RogerL Posted April 4, 2008 Author Share Posted April 4, 2008 (edited) Sorry i not see the problem. What the problem? The problem is sumarised in the subject, i.e if I pass another window, say WIndows Explorer over my GUI, moving from right to left, the checkBox text "output captured data" is not redrawn when my window is exposed - it's just a complete black rectangular box. Just tried again - the speed of drag of the covering window seems to have some effect, sometimes some of the text is displayed ok while the remainder is blacked-out. Edited April 4, 2008 by RogerL Link to comment Share on other sites More sharing options...
RogerL Posted April 4, 2008 Author Share Posted April 4, 2008 There is a missing GUICtrlCreateTabitem() but I dont think that's what he is meaning.... My original program has 3 TabItems, many checkboxes, listViews etc. but I trimmed everything out to just leave code that showed the error. If I remove the single Tab creation it works fine, there is no need to have two tabs just to prove the problem. (I know having one tab isn't sensible but it is to show the problem) Link to comment Share on other sites More sharing options...
Monamo Posted April 4, 2008 Share Posted April 4, 2008 There is a missing GUICtrlCreateTabitem() but I dont think that's what he is meaning.... I was able to reproduce the effect with the sample code and I was thinking it was a "closing" GUICtrlCreateTabItem() as well, but adding that in still yielded the same effect (black bar overlay on the text). The odd thing was that it didn't do the overlay on every pass.If you're trying to reproduce the issue (I just used Calculator as an example, other windows did the same thing):Run the sample codeOpen CalculatorPlace the Calculator window to the right of the sample GUIDrag Calculator on top of the sample GUI and release the mouseDrag Calculator over to the left a couple pixels and release the mouseDrag Calculator all the way to the left, past the sample GUI window - MoChr(77)& Chr(97)& Chr(100)& Chr(101)& Chr(32)& Chr(121)& Chr(97)& Chr(32)& Chr(108)& Chr(111)& Chr(111)& Chr(107)-------I've told you 100,000 times not to exaggerate!-------Don't make me hit you with my cigarette hand...-------My scripts:Random Episode Selector, Keyboard MouseMover, CopyPath v2.1, SmartRename for XP,Window Tracer[sup]New![/sup] Link to comment Share on other sites More sharing options...
Siao Posted April 4, 2008 Share Posted April 4, 2008 I can confirm this redraw glitch using v3.2.11.5. Doesn't happen using v3.2.10.0, so probably introduced with one of the betas. Try reporting it with Bug Trac. "be smart, drink your wine" Link to comment Share on other sites More sharing options...
Monamo Posted April 4, 2008 Share Posted April 4, 2008 I can confirm this redraw glitch using v3.2.11.5.Doesn't happen using v3.2.10.0, so probably introduced with one of the betas. Try reporting it with Bug Trac.Using 3.2.10.0 in my test scenario above. - MoChr(77)& Chr(97)& Chr(100)& Chr(101)& Chr(32)& Chr(121)& Chr(97)& Chr(32)& Chr(108)& Chr(111)& Chr(111)& Chr(107)-------I've told you 100,000 times not to exaggerate!-------Don't make me hit you with my cigarette hand...-------My scripts:Random Episode Selector, Keyboard MouseMover, CopyPath v2.1, SmartRename for XP,Window Tracer[sup]New![/sup] Link to comment Share on other sites More sharing options...
RogerL Posted April 4, 2008 Author Share Posted April 4, 2008 (edited) I can confirm this redraw glitch using v3.2.11.5.Doesn't happen using v3.2.10.0, so probably introduced with one of the betas. Try reporting it with Bug Trac.Hi Siao, I'm the original poster with the problem and I'm running 3.2.10.0 according to the output in the SciTE console window.I'm newish here and not familiar with the protocol. When an experienced member identifies that a query is a bug does a moderator move the thread to the bug forum section or is it the responsibility of the OP?Oh, and it ought to be reported the problem occurs with group text as well as checkBox text. Edited April 4, 2008 by RogerL Link to comment Share on other sites More sharing options...
Siao Posted April 4, 2008 Share Posted April 4, 2008 Hi Siao, I'm the original poster with the problem and I'm running 3.2.10.0 according to the output in the SciTE console window.I'm newish here and not familiar with the protocol. When an experienced member identifies that a query is a bug does a moderator move the thread to the bug forum section or is it the responsibility of the OP?Nothing gets moved anywhere - the bugs aren't reported through bug forum anymore, but through svn tracker. See top right corner of this page, "Bug Trac". If you wish, you may try it. It does look like a bug afterall, and multiple posters have confirmed.Not sure why v3.2.10.0 works fine for me though. But that doesn't really matter. "be smart, drink your wine" Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now