Re: Question about .rc files
- From: "Mark Salsbery [MVP]" <MarkSalsbery[MVP]@newsgroup.nospam>
- Date: Sat, 9 Aug 2008 14:47:11 -0700
"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
.
- References:
- Question about .rc files
- From: Vincent Fatica
- Question about .rc files
- Prev by Date: Re: Question about .rc files
- Next by Date: Re: Question about .rc files
- Previous by thread: Re: Question about .rc files
- Next by thread: Font question
- Index(es):
Relevant Pages
|