Click here to Skip to main content
15,915,324 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: i have a simple question on terminating processes Pin
SiddharthAtw23-Apr-04 19:33
SiddharthAtw23-Apr-04 19:33 
GeneralRe: i have a simple question on terminating processes Pin
Prakash Nadar23-Apr-04 21:07
Prakash Nadar23-Apr-04 21:07 
GeneralCopying structs into a BYTE array Pin
Wheatbread23-Apr-04 10:37
Wheatbread23-Apr-04 10:37 
GeneralRe: Copying structs into a BYTE array Pin
Gary R. Wheeler23-Apr-04 11:11
Gary R. Wheeler23-Apr-04 11:11 
GeneralRe: Copying structs into a BYTE array Pin
Wheatbread23-Apr-04 11:21
Wheatbread23-Apr-04 11:21 
GeneralRe: Copying structs into a BYTE array Pin
Gary R. Wheeler23-Apr-04 11:35
Gary R. Wheeler23-Apr-04 11:35 
GeneralRe: Copying structs into a BYTE array Pin
Wheatbread23-Apr-04 11:47
Wheatbread23-Apr-04 11:47 
GeneralRe: Copying structs into a BYTE array Pin
Rick York23-Apr-04 11:57
mveRick York23-Apr-04 11:57 
GeneralRe: Copying structs into a BYTE array Pin
Tim Smith23-Apr-04 16:04
Tim Smith23-Apr-04 16:04 
GeneralRe: Copying structs into a BYTE array Pin
Rick York23-Apr-04 20:52
mveRick York23-Apr-04 20:52 
GeneralRe: Copying structs into a BYTE array Pin
Tim Smith24-Apr-04 4:05
Tim Smith24-Apr-04 4:05 
GeneralRe: Copying structs into a BYTE array Pin
Paul Ranson24-Apr-04 4:37
Paul Ranson24-Apr-04 4:37 
GeneralRe: Copying structs into a BYTE array Pin
Wheatbread25-Apr-04 5:55
Wheatbread25-Apr-04 5:55 
GeneralPlease help!!! Dialogs problem Pin
Anton P. Ivanov23-Apr-04 9:55
Anton P. Ivanov23-Apr-04 9:55 
GeneralRe: Please help!!! Dialogs problem Pin
Jeff Bogan23-Apr-04 10:38
Jeff Bogan23-Apr-04 10:38 
GeneralCreating a user login Pin
BrockVnm23-Apr-04 9:41
BrockVnm23-Apr-04 9:41 
GeneralRe: Creating a user login Pin
l a u r e n23-Apr-04 11:20
l a u r e n23-Apr-04 11:20 
GeneralRe: Creating a user login Pin
BrockVnm23-Apr-04 11:39
BrockVnm23-Apr-04 11:39 
GeneralRe: Creating a user login Pin
BrockVnm26-Apr-04 5:54
BrockVnm26-Apr-04 5:54 
GeneralRe: Creating a user login Pin
l a u r e n26-Apr-04 8:57
l a u r e n26-Apr-04 8:57 
GeneralRe: Creating a user login Pin
BrockVnm26-Apr-04 9:01
BrockVnm26-Apr-04 9:01 
GeneralHelp on dynamically creating UI elements based on XML data required Pin
Kamal Shankar23-Apr-04 9:14
Kamal Shankar23-Apr-04 9:14 
Hello

Can anyone direct me to a resource where I can see working demo(s) / samples highlighting HOWTO dynamically create a user interface from a XML data definition.

What I mean is this:

There will be one or more XML data files which will actually contain information regarding controls to be drawn.
A program will read those XML files and dynamically create the defined controls.

Hence, if the XML reads something like:

....
<Button>
	<ID>CommitPatchButton</ID>
	<Caption>Complete task</Caption>
	<Style>Flat</Style>
</Button>
....


Then our program should create the button which is associated with the ID 'CommitPatchButton' with the defined specifications.

Ofcourse, the XML definition will ONLY define UI Elements and their visibility (for instance,if the button should be made visible or not).
The code associated with the controls will be already present beforehand.

Thus, in our case, if the above button is defined as visible in the XML data, then we will draw it as specified, and to user will be able to use the functionality associated with it.

Ideally a VC++/MFC solution will do, though, it's a working implementation that's more neccessary, so that I can grasp the idea quickly.

Otherwise, if you have a brilliant whitepaper/article/layout to achieve the goal (but with the code lacking..), send it(or a link to it) to me anyways !

Note: No business quotations please.

Regards

Kamal Shankar

"God then made two great lights; the greater light to rule the day, and the less light to rule the night"
- Genesis 47:3
GeneralRe: Help on dynamically creating UI elements based on XML data required Pin
l a u r e n23-Apr-04 11:20
l a u r e n23-Apr-04 11:20 
GeneralHiding application from the ALT CTLR DEL list Pin
Arnav23-Apr-04 9:01
Arnav23-Apr-04 9:01 
GeneralRe: Hiding application from the ALT CTLR DEL list Pin
Dominik Reichl23-Apr-04 10:11
Dominik Reichl23-Apr-04 10:11 

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.