Click here to Skip to main content
15,891,951 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralCOM development with Visual Studio 2005 Pin
act_x14-Jan-08 14:12
act_x14-Jan-08 14:12 
GeneralApplication mappings in IIS Pin
Mohammad A Gdeisat14-Jan-08 11:52
Mohammad A Gdeisat14-Jan-08 11:52 
Questionchange video border color when using WMP in C#? Pin
codefreaklcs14-Jan-08 11:15
codefreaklcs14-Jan-08 11:15 
GeneralRe: change video border color when using WMP in C#? Pin
Hamid_RT14-Jan-08 18:06
Hamid_RT14-Jan-08 18:06 
GeneralRe: change video border color when using WMP in C#? Pin
codefreaklcs14-Jan-08 23:29
codefreaklcs14-Jan-08 23:29 
GeneralRe: change video border color when using WMP in C#? Pin
Hamid_RT15-Jan-08 4:13
Hamid_RT15-Jan-08 4:13 
Generalimplementing a tree model Pin
Jim Crafton14-Jan-08 9:32
Jim Crafton14-Jan-08 9:32 
QuestionControls placed by Resource Editor are different size than controls placed programmatically? Pin
xjohnx14-Jan-08 9:18
xjohnx14-Jan-08 9:18 
Does anyone know why on like 3 of 40 of the computers my company has, the controls placed on a dialog programmatically via MoveWindow are sized different than if they were just placed in the .RC file with the Resource Editor?

I have an image to show what I mean. On the right hand side I have what a normal machine looks like. on the left hand side is a screwed up machine( you'll notice all the top controls which are placed in the resource editor are much larger, where the bottom controls which are placed with MoveWindow function end up in the correct place)
http://www.john-moses.com/img/artviewer_bug.jpg[^]

So I have a dialog that has several controls on it, most of which don't need to be resized, only 2 of the controls on the dialog need to be resized. All the controls on the dialog that don't need to be resized I just place in the .RC file with the Resource Editor, and don't bother making member variables for. For the 2 controls that need to resizing, I'll place in the Resource Editor, but in the OnSize function I'll call MoveWindow on the 2 control's member functions to resize them.
This works just fine on like 98% of the computers are my company, but for like 3 people, for some reason this mix of Resource Editor/MoveWindow placed controls causes some kind of visual bug.

Any Ideas what could cause this?

I looked at the machines "Desktop Properties -> Display Properties -> Advanced", and all our fonts and sizes are the same.
We all do have different processors and video cards, nothing we can do about that.
We're all running Windows XP Pro

eh?
GeneralRe: Controls placed by Resource Editor are different size than controls placed programmatically? Pin
Stephen Hewitt14-Jan-08 12:41
Stephen Hewitt14-Jan-08 12:41 
GeneralRe: Controls placed by Resource Editor are different size than controls placed programmatically? Pin
xjohnx14-Jan-08 14:20
xjohnx14-Jan-08 14:20 
GeneralRe: Controls placed by Resource Editor are different size than controls placed programmatically? Pin
Stephen Hewitt14-Jan-08 14:56
Stephen Hewitt14-Jan-08 14:56 
GeneralDeployment Pin
Rage14-Jan-08 2:56
professionalRage14-Jan-08 2:56 
QuestionHow much data can be stored by CString Type varible Pin
rajneshmalik14-Jan-08 2:12
rajneshmalik14-Jan-08 2:12 
AnswerRe: How much data can be stored by CString Type varible Pin
CPallini14-Jan-08 2:29
mveCPallini14-Jan-08 2:29 
AnswerRe: How much data can be stored by CString Type varible Pin
toxcct14-Jan-08 3:32
toxcct14-Jan-08 3:32 
AnswerRe: How much data can be stored by CString Type varible Pin
Jimmanuel14-Jan-08 6:33
Jimmanuel14-Jan-08 6:33 
GeneralRe: How much data can be stored by CString Type varible Pin
David Crow14-Jan-08 6:44
David Crow14-Jan-08 6:44 
GeneralRe: How much data can be stored by CString Type varible Pin
pierre_ribery14-Jan-08 8:23
pierre_ribery14-Jan-08 8:23 
GeneralRe: How much data can be stored by CString Type varible Pin
David Crow14-Jan-08 8:30
David Crow14-Jan-08 8:30 
QuestionCan i give some text a Marquee feature on VC++ dialogue? Pin
megha_gharote14-Jan-08 0:12
megha_gharote14-Jan-08 0:12 
AnswerRe: Can i give some text a Marquee feature on VC++ dialogue? Pin
Hamid_RT14-Jan-08 0:16
Hamid_RT14-Jan-08 0:16 
AnswerRe: Can i give some text a Marquee feature on VC++ dialogue? Pin
toxcct14-Jan-08 2:07
toxcct14-Jan-08 2:07 
GeneralVC++ dynamic DLL loading sample without MFC class. Pin
Tintin9213-Jan-08 23:16
Tintin9213-Jan-08 23:16 
GeneralRe: VC++ dynamic DLL loading sample without MFC class. Pin
CPallini13-Jan-08 23:26
mveCPallini13-Jan-08 23:26 
GeneralIPC using data copy Pin
gayatri.neelema13-Jan-08 22:40
gayatri.neelema13-Jan-08 22:40 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.