Results 1 to 3 of 3

Thread: creating a window

  1. #1

    Thread Starter
    New Member
    Join Date
    Mar 2000
    Location
    us
    Posts
    1

    Post

    I just want to know one thing, is a window,(title bar,buttons,3d edge shadow and the like) a bitmap or a metafile? I would like to create my own rendering system
    and I'm trying to figure out where to start. Any help in the right direction would be appreciated.



    Nikita

  2. #2
    Member
    Join Date
    Mar 2000
    Location
    Canada
    Posts
    35

    Post

    Well, my understanding is that a form is a class(generic)/ object(specific), as are buttons. Is that the answer you're looking for?

  3. #3
    Frenzied Member
    Join Date
    Mar 2000
    Posts
    1,089

    Post

    I think Windows are Windows.

    Windows have a DC, A menu, and some other stuff, The DC has a Bitmap, a font, a region, a backcolour and some other stuff. There's a Create Window API

    Code:
    Public Declare Function CreateWindowEx Lib "user32" Alias "CreateWindowExA" (ByVal dwExStyle As Long, ByVal lpClassName As String, ByVal lpWindowName As String, ByVal dwStyle As Long, ByVal x As Long, ByVal y As Long, ByVal nWidth As Long, ByVal nHeight As Long, ByVal hWndParent As Long, ByVal hMenu As Long, ByVal hInstance As Long, lpParam As Any) As Long
    but I don't know how to use it.

    Hope this Helps

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width