help needed on mouse over

[b][red]This message was edited by innocent_boy at 2003-10-30 19:44:9[/red][/b][hr]
hey plz can u tell me how can i deal if i want to do some thing
on "mouseover" event... what msg computer generates on mouseover?
plz tell me properly.

and one thing more .. i need to change the title msg when minimize the
window...

innocent boy


Comments

  • There is not clear cut easy way to handle the 'mouseover' like javascript can. You will need to do a hit test in the WM_MOUSEMOVE message to see where the mouse pointer is. As for the minimize you would handle the WM_SIZE message and the test the WPARAM value for SIZE_MINIMIZED.

    [hr]
    Oh my god
    I can't deny this
    I've been taught just to kill and fight this
    To bury it deeper where nobody can find it
    Like nobody wanted to know
    -- Oh My God - Guns N' Roses

  • hey,
    dear i need not only to chek minimze msg but i need to change title of
    window on minimizing...

    thanx
    innocent boy
  • Then you can use SetWindowText() to set the window caption during the handling of the WM_SIZE message if it is due to minimizing.
    [hr]
    Oh my god
    I can't deny this
    I've been taught just to kill and fight this
    To bury it deeper where nobody can find it
    Like nobody wanted to know
    -- Oh My God - Guns N' Roses

Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories