Author Topic: Subclassing in a WINDOW  (Read 3823 times)

0 Members and 1 Guest are viewing this topic.

Charles Pegge

  • Guest
Re: Subclassing in a WINDOW
« Reply #15 on: March 16, 2020, 06:32:17 AM »
Hi Aurel,

Can you show me the problem you had with comments in an if block?

Aurel

  • Guest
Re: Subclassing in a WINDOW
« Reply #16 on: March 16, 2020, 10:50:43 PM »
Hello Charles
Yes of course and i think is the best to show you a image when error jump.
it looks to me like o2 recognize elseif under commented line ?
I just guess...

Arnold

  • Guest
Re: Subclassing in a WINDOW
« Reply #17 on: March 17, 2020, 01:19:29 AM »
I myself would code:
if <condition> then exit while

I am also used to code (though not mandatory):
if <condition> then

Charles Pegge

  • Guest
Re: Subclassing in a WINDOW
« Reply #18 on: March 17, 2020, 03:22:29 AM »
Aurel,
The error message indicates youhave a wrong declaration for CreateRectRgn. If you use corewin then you won't need one.

Aurel

  • Guest
Re: Subclassing in a WINDOW
« Reply #19 on: March 17, 2020, 05:00:12 AM »
Quote
Aurel,
The error message indicates youhave a wrong declaration for CreateRectRgn. If you use corewin then you won't need one.

Ok Charles ,
but what commented 'elseif have with api function
IF is written as is in code semple then work without problem...and that is strange.