Home > Software engineering >  MFC programming, help greatly, how to implement custom control list
MFC programming, help greatly, how to implement custom control list

Time:10-06

Now want to develop a program based on the MFC, need to interact with the database, read the data in the database, then cycle display to the dialog, but without proper controls,


Similar to the effect of the above,

The left is my navigation menu, click the button to show different dialog,

On the right side of the picture is a network pictures, text and click on the button should have events,

Teach me,

CodePudding user response:

Try the CSplitterWnd

CodePudding user response:

reference 1st floor simoreg response:
try CSplitterWnd


This is I do not want this eldest brother split window

CodePudding user response:

A few words, I can do, but have no time right now,,,

CodePudding user response:

Combining multiple controls directly, and then the left click on the button to display the different hidden different controls

CodePudding user response:

reference 4 floor oyljerry response:
multiple controls directly, and then the left click on the button to display the different hidden different controls


Spot bamboo greatly help I am a small white

Mainly on the right side of the display, I read several data in the database, and then want to according to my picture on the right side to display traversal data shows how to do

CodePudding user response:

Probably thinking that is the case, to code, no,
A.
1. New MFC dialog
2. The left side can use TABCTRL (button style)
3. On the right by reading the database data, dynamic creating - & gt; GroupBox + Picture control + static control + button control

2.
1. New MFC single document
2. Cutting view,
3. On the right by reading the database data, dynamic creating - & gt; GroupBox + Picture control + static control + a button control

CodePudding user response:

refer to 6th floor lonelyhacker response:
general idea is such, want to code, no,
A.
1. New MFC dialog
2. The left side can use TABCTRL (button style)
3. On the right by reading the database data, dynamic creating - & gt; GroupBox + Picture control + static control + button control

2.
1. New MFC single document
2. Cutting view,
3. On the right by reading the database data, dynamic creating - & gt; GroupBox + Picture control + static control + button control

One thousand the building Lord give money?
Money makes the mare go.

CodePudding user response:

refer to 7th floor zhao4zhong1 response:
Quote: refer to the sixth floor lonelyhacker response:

Probably thinking that is the case, to code, no,
A.
1. New MFC dialog
2. The left side can use TABCTRL (button style)
3. On the right by reading the database data, dynamic creating - & gt; GroupBox + Picture control + static control + button control

2.
1. New MFC single document
2. Cutting view,
3. On the right by reading the database data, dynamic creating - & gt; GroupBox + Picture control + static control + button control

One thousand the building Lord give money?
Money makes the mare go,


The building Lord give money on code!
I've been thinking about redrawing the use your idea seems to be some new,
To solve the

CodePudding user response:

refer to the eighth floor vinch1n response:
Quote: refer to 7th floor zhao4zhong1 response:

Quote: refer to the sixth floor lonelyhacker response:

Probably thinking that is the case, to code, no,
A.
1. New MFC dialog
2. The left side can use TABCTRL (button style)
3. On the right by reading the database data, dynamic creating - & gt; GroupBox + Picture control + static control + button control

2.
1. New MFC single document
2. Cutting view,
3. On the right by reading the database data, dynamic creating - & gt; GroupBox + Picture control + static control + button control

One thousand the building Lord give money?
Money makes the mare go,


The building Lord give money on code!
I've been thinking about redrawing the use your idea seems to be some new,
To solve the


You not only shows the database content?? Don't quite understand your need, such as the button on the right you do?
You are on the right side of the interface to load the database content is how to load? Are all loading show? I can only give you,

CodePudding user response:

And you are to make a good point? Or just rolled up two controls?? I think you should understand clearly what you want, first encountered problems again, such estimation to solve problems faster, and personal advice,,

CodePudding user response:

The
references to the tenth floor lonelyhacker response:
and you are to make a good point? Or just rolled up two controls?? I think you should understand clearly what you want, first encountered problems again, such estimation to solve problems faster, and personal advice,,


Can add you QQ consulting
  • Related