As I recall there are multiple relevant CodeGuru articles. Use them as samples. We don't know what you need so we can't help any more than that. However if you have a specific question then we are much more likely to be able to help.
In my opinion the best solution is to use a SDI or MDI application with CView as the view. You must write your own code to dynamically create all controls and position them but probably the same code that positions the controls can be used to reposition the controls. This might be a lot of work but it probably is not much more work than if you use a dialog and if you do it this other way then your application is much more flexible.
rxbagain,thank you for your example!
Your example works well.you are so kind.
I see your code handle all concolls in the same style and make all of them center on the dialog.
But there are many controls on my dialog,and some of the controls must position themself when resizing the dialog individually,So I think your method only can solve a part of my troubles.
So How can I do?I feel iit is possible f I write code to handle every control's position.But Is it the only way?
I hope to get more helps from you!
thanks again!
You can set a flags for the controls on where they should go. I modified the code to accomodate other position maintenace such as the control should be on the lower right corner of the dialog, or it sould be on the left or the control should not move. I set the controls' flags on OnInit using SetWindowLong function.
Hi,rxbagain
thanks a lots for your help!
You example is good and it is just what I want!
I think I will get free from my pazzling problem with your this help!
thanks again!
·Ç³£¸Ðл£¡
You are probably using a different font than most of us. This is no problem except I am unable to see what you are saying with this. If what you are saying is important then perhaps we can figure out a way for you to enter it so we can all read it. Otherwise I hope it helps for you to know that probably most of us cannot read it.
oh,I see
thank for your reminds .
The characters you just refer are Chinese Character and means
"thank you very much " in English.
By the way,I also hope this forum can show this Character correctly someday!
* The Best Reasons to Target Windows 8
Learn some of the best reasons why you should seriously consider bringing your Android mobile development expertise to bear on the Windows 8 platform.