Re: Question about .rc files

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



"Vincent Fatica" <vince@xxxxxxxxxxxxxxxxx> wrote in message news:489df9fa$1@xxxxxxxxxxxxxxxxxxxx
My .RC file contains

IDD_DLG DIALOGEX 0, 0, 310, 109

When the dialog shows in its default size, it's 551 x 228. What's the
connection? Is the RC spec some sort of machine-independent representation? How
can I predict actual pixels (so I can appropriately respond to
WM_GETMINMAXINFO)? Thanks.


I take my last post back :) That's really not going to help much at runtime for your WM_GETMINMAXINFO.

Maybe better to get the dimensions at runtime (WM_SIZE) then once you have them, start enforcing the MINMAXINFO.

Mark

--
Mark Salsbery
Microsoft MVP - Visual C++


--
- Vince

.



Relevant Pages