Ciao Paul,
I've noticed that mouse left click in any part of WinFbe seems firing refresh to many other client windows in other application open in Windows desktop
For example I've a background window of Notepad++ that refresh every time I click inside any WinFbe window area. The same with other application like Windows Explorer
Attached a short video showing Notepad++ refreshing when left click on WinFbe.
Ciao
Eros
Thanks Eros, I will take a look at this over the holidays to see if I can find out why this would happen.
Hi Paul, I too have that connection to Notepad++ as displayed in the clip from Eros. Scintilla?
Hi guys,
I finally tracked down the reason for this screen refresh issue. It is because I was redrawing a control window handle that could have a value of 0 (zero). Of course, a zero value would then represent the Windows Desktop thereby causing a full desktop refresh. This would result in other applications like NotePad++ (and even Windows Notepad itself) to refresh its text contents.
Here is the code with the fixed source. The fix will be in version 3.0.7.
function killAllPopupMenus() as boolean
killPopupSubMenus()
killPopupMenus()
gMenuLastCurSel = -1
gPrevent_WM_NCACTIVATE = false
' unhighlight any previous hot menubar button
dim as HWND hCtrl = ghWndActiveMenuBarButton
ghWndActiveMenuBarButton = 0
' I ADD THE FOLLOWING "IF" TEST RATHER THAN BLINDLY CALLING REDRAW ON THE VARIABLE
if hCtrl then AfxRedrawWindow(hCtrl)
return true
end function