Link to home
Start Free TrialLog in
Avatar of homerWS
homerWS

asked on

Is title bar enabled.

Halo,

     Does anyone knows how to check title bar status(if enabled or disabled) using API. What I meant by enable and disable is wheather if it is visible or not.
Avatar of aelatik
aelatik
Flag of Netherlands image

Titlebar of what ?
Avatar of homerWS
homerWS

ASKER

form!
Private Sub Command1_Click()
    If Me.BorderStyle <> 0 And Me.Visible = True Then
        MsgBox "Visible"
    Else
        MsgBox "Not visible"
    End If
End Sub
Avatar of homerWS

ASKER

aelatik,

      I do know how to handle via BorderStyle....  but I am more interested in using API.
I think what you're trying to do is find out when someone switches focus away from your application to something else, or vice versa... no?

If that's the case, then you need a "onlostfocus" event on the main form... no?
Avatar of homerWS

ASKER

InTheWind,

      No not that, I am creating a IDE (much like VB IDE), where I have a check box that can select and deselected title bar for a MDI child form.
ASKER CERTIFIED SOLUTION
Avatar of InTheWind
InTheWind

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial