Go Back   TechArena Community > Software > Software Development
Become a Member!
Forgot your username/password?
Tags Active Topics RSS Search Mark Forums Read

Reply
 
Thread Tools Search this Thread
  #1  
Old 08-01-2009
Member
 
Join Date: Oct 2008
Posts: 143
Minimum size of a dialogue from a resource

Hello,

I would like to know if there was a minimum size on the dialogues made via resources.

I ask this because I want to make a window with these properties:

Code:
ID_Promotion DIALOGEX 0, 0, 47, 157 
  STYLE DS_SYSMODAL | DS_SETFONT | DS_FIXEDSYS | DS_CENTER | WS_BORDER 
  FONT 8, "MS Shell Dlg", 400, 0, 0x1 
 BEGIN 
 END
therefore it is relatively close, but when I display it appears much broader . ca to the values of 70.

Thank you for the information
Reply With Quote
  #2  
Old 08-01-2009
Member
 
Join Date: Oct 2008
Posts: 170
Re: Minimum size of a dialogue from a resource

The units used with the dialogs are not pixels but Dialog Template Units ...
Reply With Quote
  #3  
Old 08-01-2009
Member
 
Join Date: Oct 2008
Posts: 143
Re: Minimum size of a dialogue from a resource

I succeeded in changing the style of the window.

I put:

Code:
DS_SETFONT | DS_FIXEDSYS | WS_POPUP | WS_BORDER
Thank you for your help.
Reply With Quote
Reply

  TechArena Community > Software > Software Development
Tags: , , ,



Thread Tools Search this Thread
Search this Thread:

Advanced Search


Similar Threads for: "Minimum size of a dialogue from a resource"
Thread Thread Starter Forum Replies Last Post
How to calculate cost based on resource rate? I have more than 5 rates per resource boxta Microsoft Project 8 08-05-2012 12:46 PM
Minimum SSD drive size for Good HTPC SPARSH Hardware Peripherals 6 28-05-2011 07:50 PM
Cluster error 1230: Cluster resource '%1' (resource type '%2', DLL '%3') either crashed or deadlocked. The EClipse Operating Systems 4 21-08-2010 04:03 AM
Minimum size for root partition and home partition for ubuntu RockeЯ Operating Systems 4 03-09-2009 06:25 PM
The logical size of this database is 16 GB. This database size is approaching the size limit of 18 GB HandelMan Small Business Server 3 18-04-2007 04:26 PM


All times are GMT +5.5. The time now is 05:46 AM.