in a method there is a command
if GetClassName( GetParent( Self:hWnd ) ) != "TBAR"
oWnd = oWndFromhWnd( GetParent( Self:hWnd ) )
else
endif
How I can write to say that I must use this control into a dialog ?