FW: [lazarus] LCL: menu creation order

Vincent Snijders VSDS at RND.VB.CBS.NL
Tue Jul 1 09:03:22 EDT 2003


Forwarded to the list.

-----Oorspronkelijk bericht-----
Van: Micha Nelissen [mailto:mdvpost at hotmail.com] 
Verzonden: dinsdag 1 juli 2003 15:25
Aan: vslist at zonnet.nl
Vincent Snijders wrote:
>> Van: Micha Nelissen [mailto:mdvpost at hotmail.com]
>> Verzonden: dinsdag 1 juli 2003 13:43
>> Michael Van Canneyt wrote:
>>> On Tue, 1 Jul 2003, Michael Van Canneyt wrote:
>>>
>>>>
>>>>
>>>>>> Ultimate reason: the win32 interface seems to crash when a
>>>>>> shortcut is set
>>>>>> for a particular menuitem. It occurs when running the lazarus
>>>>>> ide.
>>>>>
>>>>> I'm sure you will find the bug.
>>>>>
>>>>> Apropos IDE: Did you try the TSynEdit under win32?
>>>>
>>>> I did, with todays sources:
>>>>
>>>> malpertuus: /cygdrive/e/pp/projects/lazarus/examples >./edittest
>>>> [FORMS.PP] ExceptionOccurred
>>>>   Sender=EACCESSVIOLATION
>>>>   Exception=Access violation
>>>> TApplication.HandleException Access violation
>>>> TApplication.HandleException Handling "Access violation" ...
>>>> [FORMS.PP] ExceptionOccurred
>>>>
>>>> Not very informative :-/
>>>
>>> Follow-up:
>>>
>>> Executing progressbar (or any other) example,
>>> I get zillions of these messages:
>>>
>>>   Exception=Unknown Run-Time error : 217
>>> TApplication.HandleException: there was another exception during
>>> showing the first exception [FORMS.PP] ExceptionOccurred
>>>   Sender=EXCEPTION
>>>   Exception=Unknown Run-Time error : 217
>>>
>>> So something is definitely wrong in the windows interface:/
>>
>> Strange, I do not recieve such messages. Only when trying to execute
>> lazarus, but the progressbar example works fine.
>>
>> Micha.
>
> Same here, but the progressbar example has a new bug: When you click
> on toggle smooth, all buttons disappear and only every second a blue
> block is shown. I might have to do something with the changes to the
> code of wm_erasebackground recently.

I found it! The BeginPaint function is not implemented in
lcl/include/winapi.inc. Can we introduce a method for it in the
interface?

Regards,

Micha.






More information about the Lazarus mailing list