Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

GPF in IconPushButton

1 view
Skip to first unread message

1102...@mail.hitel.net

unread,
May 9, 2000, 3:00:00 AM5/9/00
to
Hi,

When a hot-key is assigned to an IconPushButton,
it generates an GPF.

There are two windows. One has some FixedText controls
and one IconPushButton. The other has 3 SingleLineEdit
controls, one ListView control and four IconPushButtons.

The first window of just one IconPushButton is working OK.
But the other one generates GPFs.

Can anybody tell me why and how I can solve this problem ?

Regards,

Young Suk Park


Sent via Deja.com http://www.deja.com/
Before you buy.

Marc Forsyth

unread,
May 9, 2000, 3:00:00 AM5/9/00
to
Young,

I just came across this while I was creating OwnerDraw pushbuttons.
It seems that Windows 98 has a bit of a bug with Ownerdraw buttons
and the hotkey used to activate it.

I'm using Classmate and the workaround is to issue a
self:PostMessage(WM_CLOSE,0,0) instead of self:EndWindow().
(self:EndWindow issues a self:SendMessage()).

If you are using straight VO, you might check the SDK to see if your
close method issues a SendMessage and replace it with Postmessage.

-Marc-

1102...@mail.hitel.net

unread,
May 10, 2000, 3:00:00 AM5/10/00
to
Marc,

> If you are using straight VO, you might check the SDK to see if your
> close method issues a SendMessage and replace it with Postmessage.

Thanks a lot for your help.

0 new messages