![]() |
Control Position |
Post Reply ![]() |
Author | |
kanitamildasan ![]() Senior Member ![]() ![]() Joined: 01 February 2006 Status: Offline Points: 102 |
![]() ![]() ![]() ![]() ![]() Posted: 16 April 2007 at 6:09am |
Hi all,
I wish to make the second control be in the same location for my five toolbars
thanks in advance |
|
![]() |
|
Damsku ![]() Newbie ![]() Joined: 14 April 2007 Location: Finland Status: Offline Points: 17 |
![]() ![]() ![]() ![]() ![]() |
Hi, i'm not totally sure i understood what you are trying to do, if the picture is what you are trying to achieve:
- In the Resource Editor of Visual Studio, you have to multiselect the 5 edit box controls by holding SHIFT pressed while selecting the controls with the mouse. - Then right click on one of the selected controls, and the contextual menu has an item called "Align lefts". - Click it and the 5 edit box should be aligned with the position of the first control you clicked when doing the multiselection. If you meant something else, sorry for the misunderstanding, i'm not sure of what you mean by second control :) |
|
damsku
|
|
![]() |
|
kanitamildasan ![]() Senior Member ![]() ![]() Joined: 01 February 2006 Status: Offline Points: 102 |
![]() ![]() ![]() ![]() ![]() |
thanks for the reply :) but i didnt mean this i am looking for the solution to acheive something like the screenshot (outlook express) using CJ's toolbar
ps : i am using XT 10.x Pro
|
|
![]() |
|
kanitamildasan ![]() Senior Member ![]() ![]() Joined: 01 February 2006 Status: Offline Points: 102 |
![]() ![]() ![]() ![]() ![]() |
I've missed to say that i can't use dialog (ex dialogbar) i have to use five toolbars ( one row each using stretched flag) |
|
![]() |
|
Damsku ![]() Newbie ![]() Joined: 14 April 2007 Location: Finland Status: Offline Points: 17 |
![]() ![]() ![]() ![]() ![]() |
Ohhhhhhhhhhhhhh ! Sorry :o
Then i'm afraid i won't be much help since i never used toolbars for that kind of purpose. But on the screenshot you sent, the edit box are not embedded in a toolbar i think. I mean, i wouldn't use toolbars to do that. Isn't there a CFormView or similar class you could be using there? It would sound more convenient to me. |
|
damsku
|
|
![]() |
|
Oleg ![]() Admin Group ![]() Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
![]() ![]() ![]() ![]() ![]() |
Hi,
in 10.4.2 you can call SetWidth for first controls:
pToolbar1->GetControl(0)->SetWidth(20);
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
![]() |
|
kanitamildasan ![]() Senior Member ![]() ![]() Joined: 01 February 2006 Status: Offline Points: 102 |
![]() ![]() ![]() ![]() ![]() |
thanks for reply but i am using 10.2 :(
|
|
![]() |
Post Reply ![]() |
|
Tweet
|
Forum Jump | Forum Permissions ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |