Click here to Skip to main content
16,004,507 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionRe: Installation of MSDN? Pin
Syouki_kou2-Jul-06 20:28
Syouki_kou2-Jul-06 20:28 
QuestionCreation of controls at run time Pin
Sangeetha_J25-Jun-06 23:19
Sangeetha_J25-Jun-06 23:19 
AnswerRe: Creation of controls at run time Pin
Sarath C25-Jun-06 23:38
Sarath C25-Jun-06 23:38 
GeneralRe: Creation of controls at run time Pin
Sangeetha Jayaraman26-Jun-06 0:26
Sangeetha Jayaraman26-Jun-06 0:26 
GeneralRe: Creation of controls at run time Pin
Sarath C26-Jun-06 0:54
Sarath C26-Jun-06 0:54 
GeneralRe: Creation of controls at run time Pin
Sangeetha Jayaraman26-Jun-06 1:04
Sangeetha Jayaraman26-Jun-06 1:04 
GeneralRe: Creation of controls at run time Pin
Sarath C26-Jun-06 1:12
Sarath C26-Jun-06 1:12 
GeneralRe: Creation of controls at run time Pin
Sarath C26-Jun-06 1:17
Sarath C26-Jun-06 1:17 
You may have to put some effort on the source code, since you are creating controls dynamically.
I think, it is better to have a container dialog for button creation. thus you modify its height or width according to the number of control.

Create the container in the main window.

The nest way is to follow the scroll child example.




SaRath.

"Do Next Thing..."
My Blog | Understanding State Pattern in C++

GeneralRe: Creation of controls at run time Pin
Sangeetha Jayaraman26-Jun-06 1:17
Sangeetha Jayaraman26-Jun-06 1:17 
GeneralRe: Creation of controls at run time Pin
Sarath C26-Jun-06 1:48
Sarath C26-Jun-06 1:48 
GeneralRe: Creation of controls at run time Pin
Sangeetha Jayaraman26-Jun-06 1:55
Sangeetha Jayaraman26-Jun-06 1:55 
GeneralRe: Creation of controls at run time Pin
Sarath C26-Jun-06 2:08
Sarath C26-Jun-06 2:08 
Questionhow to set background color to the Dlg?? Pin
mimimimilaw25-Jun-06 22:17
mimimimilaw25-Jun-06 22:17 
AnswerRe: how to set background color to the Dlg?? Pin
lidujun200825-Jun-06 22:30
lidujun200825-Jun-06 22:30 
GeneralRe: how to set background color to the Dlg?? Pin
lidujun200825-Jun-06 22:34
lidujun200825-Jun-06 22:34 
GeneralRe: how to set background color to the Dlg?? [modified] Pin
Viorel.25-Jun-06 22:38
Viorel.25-Jun-06 22:38 
GeneralRe: how to set background color to the Dlg?? Pin
Hamid_RT25-Jun-06 23:00
Hamid_RT25-Jun-06 23:00 
GeneralRe: how to set background color to the Dlg?? Pin
Viorel.25-Jun-06 23:19
Viorel.25-Jun-06 23:19 
AnswerRe: how to set background color to the Dlg?? Pin
Hamid_RT25-Jun-06 22:31
Hamid_RT25-Jun-06 22:31 
GeneralRe: how to set background color to the Dlg?? Pin
Sarath C25-Jun-06 22:49
Sarath C25-Jun-06 22:49 
GeneralRe: how to set background color to the Dlg?? Pin
Hamid_RT25-Jun-06 22:58
Hamid_RT25-Jun-06 22:58 
GeneralRe: how to set background color to the Dlg?? Pin
Sarath C25-Jun-06 23:23
Sarath C25-Jun-06 23:23 
GeneralRe: how to set background color to the Dlg?? Pin
Hamid_RT25-Jun-06 23:36
Hamid_RT25-Jun-06 23:36 
AnswerRe: how to set background color to the Dlg?? Pin
ovidiucucu26-Jun-06 1:43
ovidiucucu26-Jun-06 1:43 
Question"Force file output" option in Visual Studio.NET Pin
dashprasannajit25-Jun-06 22:07
dashprasannajit25-Jun-06 22:07 

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.