No announcement yet.

Wanted: Colors for buttons

  • Filter
  • Time
  • Show
Clear All
new posts

  • Semen Matusovski
    Thanks, Lance.
    I continued (additional variant - with icon). I used Rector, Newcomer (4th ed) sample. Really nice book, thanks a lot for your advice.
    About %WS_TABSTOP - unlike "classic", for "owner button" it's necessary (I tested).
    A code was moved to "Source code" forum.

    [This message has been edited by Semen Matusovski (edited January 26, 2000).]

    Leave a comment:

  • Lance Edmonds
    A quick glance over suggests the code is fine... certainly nothing stands out as potentially problematic.

    Only one insignificant point - the button that has just the %WS_TABSTOP style can have this style omitted and the code will continue to run identically.

    PowerBASIC Support
    mailto:[email protected][email protected]</A>

    Leave a comment:

  • Semen Matusovski
    started a topic Wanted: Colors for buttons

    Wanted: Colors for buttons

    Hi, folks !

    Some days ago I received books from Amazon (recommended by Lance) and decided to make some too brave experiments (my API knowledge is near zero).
    I reconstructed Petzold + Rector code for creating own buttons.
    Because there are DDT in PB/DLL 6.0, my reconstruction was too deep.
    Code, it seems to me wooks, but I am afraid.
    Guys, somebody see mistakes in following code ?
    (code is moved to last message)

    [This message has been edited by Semen Matusovski (edited January 25, 2000).]