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

0 Members and 1 Guest are viewing this topic.

Charles Pegge

  • Admin Support Member
  • *****
  • Posts: 4486
    • Oxygen Basic
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

  • Hero Member
  • *****
  • Posts: 977
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

  • Admin Support Member
  • *****
  • Posts: 4486
    • Oxygen Basic
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.