[Lazarus] RedrawMenus function in winceproc.pp - WinCE problem ?

Dimitrios Chr. Ioannidis dioannidis at artesoft.gr
Thu Sep 11 18:49:21 CEST 2008


O/H Felipe Monteiro de Carvalho έγραψε:
> That code is copyed from the win32 widgetset. Maybe the call to
> RedrawMenu is unnecessary under Windows CE.
> 
> Try commenting the call to RedrawMenu, rebuilding lcl and testing again.

The exception is gone. I comment out

Index: lcl/interfaces/wince/winceobject.inc
===================================================================
--- lcl/interfaces/wince/winceobject.inc	(revision 16547)
+++ lcl/interfaces/wince/winceobject.inc	(working copy)
@@ -396,7 +396,7 @@
    timeout, retVal: DWord;
    pHandles: Windows.LPHANDLE;
  begin
-  RedrawMenus;
+//  RedrawMenus;
    Assert(False, 'Trace:TWinCEWidgetSet.WaitMessage - Start');
    if FWaitPipeHandlers <> nil then
      timeout := 100

> Also, please attach a minimal test project which reproduces the issue
> in your bug report:

> http://bugs.freepascal.org/view.php?id=12105

Actual a simple, plain app running in the debugger will raise the 
exception. But i 'll do that.

regards,

PS: What about the ability to copy to clipboard the contets of the debug 
output window ? It will be very handy to be able to copy debuggers 
information. Should i add a new ticket in the tracker ?

-- 
Dimitrios Chr. Ioannidis



More information about the Lazarus mailing list