Announcement

Collapse
No announcement yet.

Question

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Richard Angell
    replied
    GRAPHIC WINDOW has its own internal message handler, but it can be subclassed as many posts in the forums, especially the PBCC forum have shown. Further many GDI functions not encapsulated in PB's Graphic Toolset will also work with both graphic controls and windows. I'm speaking from actual experience here, using many API functions with graphic controls and windows ... but some time back. However I have not used GDI+ functions with what I was working on.
    Last edited by Richard Angell; 15 Aug 2008, 07:29 AM.

    Leave a comment:


  • Michael Mattias
    replied
    >The PB Graphic control is a standard STATIC class window which is ownerdrawn

    "In the current (well, I guess now it's the previous) version of the compiler."

    Leave a comment:


  • Chris Boss
    replied
    The PB Graphic control is a standard STATIC class window which is ownerdrawn. This is how it does the drawing using standard ownerdraw (DDT handles the processing of the ownerdraw message).

    Leave a comment:


  • Michael Mattias
    replied
    That a little research and digging turns up that the Classname is "static" does NOT mean it is a standard Windows "static" control/window. I'd guess that window is subclassed by the compiler to do stuff it just won't do 'out of the box.'

    A more accurate answer might be, "The PB 'GRAPHIC' statements create a proprietary window or control which should be manipulated using only the provided GRAPHIC statements."

    While some - or even a lot - "Windows standard" functions MIGHT work in this release of the compiler, it's not something on which I'd bet the house.

    MCM

    Leave a comment:


  • Gerbert Houska
    replied
    Yes thanks, Graphics Window is what I was talking about.

    Gerbert Houska

    Leave a comment:


  • Richard Angell
    replied
    ... or do you mean GRAPHIC WINDOW? PBWin supports both.

    The Graphic Toolset in PB supports GDI directly. However, since you can easily obtain reference to the window and control, i.e. handles and DC's it should be possible to use GDI+ tools with these entities as well.

    Leave a comment:


  • Chris Holbrook
    replied
    Originally posted by Gerbert Houska View Post
    Is it a GDI+ window
    Made with CONTROL ADD GRAPHIC? I assume that is the one you mean. If you look closer at the control, you will see it has Class=Static.

    Leave a comment:


  • Gerbert Houska
    started a topic Question

    Question

    Hi,
    Look, I have been wondering : what is a graphics window ?
    Is it a GDI+ window, a Forms2 window or what?

    G.Houska
Working...
X