Guest - paulin - Posted February 1, 2005 Report Share Posted February 1, 2005 ai galerape o seguinte estou tentando usar o getwindowrect.. porem quando vou compila-lo da o seguinte erroUser-defined type not defined.Private Declare Function GetWindowRect Lib "user32" (ByVal hwnd As Long, lpRect As RECT) As Longqualquer eu faço!? Quote Link to comment Share on other sites More sharing options...
0 caiokf Posted February 1, 2005 Report Share Posted February 1, 2005 tem que declarar qual tipo de estrutura é RECT (q aparece ali em ... as RECT)Type RECT .... ....End Type Quote Link to comment Share on other sites More sharing options...
0 caiokf Posted February 1, 2005 Report Share Posted February 1, 2005 Por sinal até achei qual é...Type RECT Left As Long Top As Long Right As Long Bottom As Long End Type abraço,CaioKF Quote Link to comment Share on other sites More sharing options...
Question
Guest - paulin -
ai galera
pe o seguinte estou tentando usar o getwindowrect.. porem quando vou compila-lo da o seguinte erro
User-defined type not defined.
Private Declare Function GetWindowRect Lib "user32" (ByVal hwnd As Long, lpRect As RECT) As Long
qualquer eu faço!?
Link to comment
Share on other sites
2 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.