Results 1 to 3 of 3

Thread: CreateWindow or CreateWindowEx

  1. #1

    Thread Starter
    <?="Moderator"?> john tindell's Avatar
    Join Date
    Jan 2002
    Location
    Brighton, UK
    Posts
    1,099

    CreateWindow or CreateWindowEx

    whats the difference between them, is there any advantages/disadvantages. ive just created my first window, try out both ways and i didnt notice a thing. Anyone know the difference.

    Thanks

  2. #2
    Monday Morning Lunatic parksie's Avatar
    Join Date
    Mar 2000
    Location
    Mashin' on the motorway
    Posts
    8,169
    CreateWindowEx just allows you to give different "extended" styles. See the style descriptions in MSDN
    I refuse to tie my hands behind my back and hear somebody say "Bend Over, Boy, Because You Have It Coming To You".
    -- Linus Torvalds

  3. #3
    Guru Yonatan's Avatar
    Join Date
    Apr 1999
    Location
    Israel
    Posts
    892
    CreateWindow is a macro that expands to CreateWindowEx with the first parameter (extended style) to 0.
    The last time CreateWindow was a function and not a macro was Win16.

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