Click here to Skip to main content
15,902,776 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Questionhelp me please....(urgent).. Pin
rajesh_kumar3-Feb-09 17:41
rajesh_kumar3-Feb-09 17:41 
AnswerRe: help me please....(urgent).. Pin
_AnsHUMAN_ 3-Feb-09 17:54
_AnsHUMAN_ 3-Feb-09 17:54 
GeneralRe: help me please....(urgent).. Pin
rajesh_kumar3-Feb-09 18:32
rajesh_kumar3-Feb-09 18:32 
GeneralRe: help me please....(urgent).. Pin
Chandrasekharan P3-Feb-09 19:26
Chandrasekharan P3-Feb-09 19:26 
GeneralRe: help me please....(urgent).. Pin
rajesh_kumar4-Feb-09 2:54
rajesh_kumar4-Feb-09 2:54 
Questionhow to create dynamic controls in mdi using mfc and VC++ 2005 Pin
karthik11k3-Feb-09 17:36
karthik11k3-Feb-09 17:36 
AnswerRe: how to create dynamic controls in mdi using mfc and VC++ 2005 Pin
«_Superman_»3-Feb-09 17:51
professional«_Superman_»3-Feb-09 17:51 
AnswerRe: how to create dynamic controls in mdi using mfc and VC++ 2005 Pin
Nishad S3-Feb-09 17:53
Nishad S3-Feb-09 17:53 
karthik11k wrote:
. I want to generate dynamic controls like text box, combo box, static text dynamically.


What kind of application is yours? (Dialog/SDI/MDI using MFC or simple Win32 App)

If you are using MFC, create a member variable of CEdit, CComboBox, CStatic, etc. And in the OnInitDialog (in dialog based) you can create them using Create().

In the case win32 app, you can use CreateWindow with specific class name.

See this[^]

- ns ami -

GeneralRe: how to create dynamic controls in mdi using mfc and VC++ 2005 Pin
karthik11k3-Feb-09 19:08
karthik11k3-Feb-09 19:08 
GeneralRe: how to create dynamic controls in mdi using mfc and VC++ 2005 Pin
Nishad S3-Feb-09 19:21
Nishad S3-Feb-09 19:21 
GeneralRe: how to create dynamic controls in mdi using mfc and VC++ 2005 Pin
karthik11k3-Feb-09 19:49
karthik11k3-Feb-09 19:49 
GeneralRe: how to create dynamic controls in mdi using mfc and VC++ 2005 Pin
Nishad S3-Feb-09 19:55
Nishad S3-Feb-09 19:55 
Questionrefreshing the console screen Pin
hrishiS3-Feb-09 17:20
hrishiS3-Feb-09 17:20 
AnswerRe: refreshing the console screen Pin
Nishad S3-Feb-09 17:45
Nishad S3-Feb-09 17:45 
Questionhi Pin
kir_MFC3-Feb-09 17:11
kir_MFC3-Feb-09 17:11 
AnswerRe: hi Pin
_AnsHUMAN_ 3-Feb-09 17:15
_AnsHUMAN_ 3-Feb-09 17:15 
AnswerRe: hi Pin
«_Superman_»3-Feb-09 17:55
professional«_Superman_»3-Feb-09 17:55 
QuestionContext Menu to a CTreeCtrl Pin
Like2Byte3-Feb-09 11:24
Like2Byte3-Feb-09 11:24 
AnswerRe: Context Menu to a CTreeCtrl Pin
Code-o-mat3-Feb-09 11:56
Code-o-mat3-Feb-09 11:56 
GeneralRe: Context Menu to a CTreeCtrl Pin
Like2Byte3-Feb-09 12:02
Like2Byte3-Feb-09 12:02 
GeneralRe: Context Menu to a CTreeCtrl Pin
rvangaal11-Jan-11 8:20
rvangaal11-Jan-11 8:20 
Question(HTML .hm file) Pin
sabdalla803-Feb-09 11:13
sabdalla803-Feb-09 11:13 
AnswerRe: (HTML .hm file) Pin
krmed4-Feb-09 0:51
krmed4-Feb-09 0:51 
GeneralRe: (HTML .hm file) Pin
sabdalla804-Feb-09 4:55
sabdalla804-Feb-09 4:55 
QuestionCapture Window Focus Change Pin
mjmim3-Feb-09 9:57
mjmim3-Feb-09 9:57 

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.