Results 1 to 11 of 11

Thread: minimize, maximize, close and -my- button

  1. #1
    bzemer
    Guest

    minimize, maximize, close and -my- button

    hi,
    how can i put my own button next to minimize, maximize and close?

    and question 2:
    can i use the '?' button for other use (instead of help)?

    thanks..

  2. #2

  3. #3
    Registered User Nucleus's Avatar
    Join Date
    Apr 2001
    Location
    So that's what you are up to ;)
    Posts
    2,530
    nullus, when I add this code and click on the button, nothing happens:

    Code:
    Public Sub cmdInTitlebar_Click()
        MsgBox "now"
        Me.WindowState = 1 'minimizes the form
    End Sub
    Looks good though.

  4. #4
    nullus
    Guest
    Really? Hmm....it works fine for me...

  5. #5
    Registered User Nucleus's Avatar
    Join Date
    Apr 2001
    Location
    So that's what you are up to ;)
    Posts
    2,530
    I think it might be one of the API calls that doesn't like NT. Let me guess, you've got win9x?

  6. #6
    Junior Member
    Join Date
    Jun 2001
    Location
    Lv4-26
    Posts
    19

    what does that mean

    does visual basic run different on nt as it does to 9x and millenium
    Help!, They're Gonna Get Me

  7. #7
    nullus
    Guest
    Yeah, I had a feeling you might be using something other than 9x. I'm using win98

  8. #8
    Registered User Nucleus's Avatar
    Join Date
    Apr 2001
    Location
    So that's what you are up to ;)
    Posts
    2,530
    manic_gofar, it means that some API calls are available across all versions of windows and some are not. For example new win32 api functions added with windows 2000 such as animate window, will only work on win 2000.

    Quite often there are differences between win9x and NT.

  9. #9
    Junior Member
    Join Date
    Jun 2001
    Location
    Lv4-26
    Posts
    19

    thanks

    does anyone know how to use dll's in visual basic game programming
    Help!, They're Gonna Get Me

  10. #10
    bzemer
    Guest

    ok..

    got it... thanks...

  11. #11
    davegage
    Guest
    Originally posted by Nucleus
    manic_gofar, it means that some API calls are available across all versions of windows and some are not. For example new win32 api functions added with windows 2000 such as animate window, will only work on win 2000.

    Quite often there are differences between win9x and NT.

    Does anyone know a site details of the Windows 2k specific API calls.

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