How to position win32 controls
I need help with a problem. I am new to Win 32 controls etc, and I am having a really hard time positioning control in normal windows. Are there any programs, or aids that you can use (either for the API or for MFC, or just to get a rect) just to position this stuff?
Thanks!
If u are using Visual C++, use the resouce editor. Tis the easiest for position controls. Bad thing is, you need to install MFC.
Even for normal windows (only see dialog). BTW, I am using VC++ 6 and have MFC installed
]? (or am I exctracting the coords from there?)
]? (or am I exctracting the coords from there?)
Some people say they do coding in MS VC++ and interface in VB. This seems like a good idea to me, but how do they do that? Anyone got an idea?
Daniel Netz, Sentinel Design
Daniel Netz, Sentinel Design
============================Daniel Netz, Sentinel Design"I'm not stupid, I'm from Sweden" - Unknown
fungame -
If you are trying to position controls that you have created dynamically you will need to convert some screen coordinates to client coordinates ( see ScreenToClient(..) and GetClientWindow(..) ).
Spiff -
VB is a great tool for developing rich UI''s. For a variety of reasons, its sometimes benefical to write the "business logic" code in C++ for use in VB.
VB supports two methods of including C++ code:
1) regular Windows DLL
2) ActiveX/COM ( VB 6.0 supports early and late binding )
HTH,
-mordell
If you are trying to position controls that you have created dynamically you will need to convert some screen coordinates to client coordinates ( see ScreenToClient(..) and GetClientWindow(..) ).
Spiff -
VB is a great tool for developing rich UI''s. For a variety of reasons, its sometimes benefical to write the "business logic" code in C++ for use in VB.
VB supports two methods of including C++ code:
1) regular Windows DLL
2) ActiveX/COM ( VB 6.0 supports early and late binding )
HTH,
-mordell
__________________________________________
Yeah, sure... we are laughing WITH you ...
Yeah, sure... we are laughing WITH you ...
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement