Click here to Skip to main content
15,924,367 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
General.lib Pin
AHa28-Apr-01 2:49
AHa28-Apr-01 2:49 
GeneralRe: .lib Pin
28-Apr-01 3:50
suss28-Apr-01 3:50 
GeneralRe: .lib Pin
AHa28-Apr-01 9:11
AHa28-Apr-01 9:11 
QuestionHow to add an icon to a CFileDialog Pin
28-Apr-01 1:44
suss28-Apr-01 1:44 
AnswerRe: Derive CMyFileDialog from CFileDialog Pin
Masaaki Onishi28-Apr-01 15:53
Masaaki Onishi28-Apr-01 15:53 
GeneralAdding Check Box in VSFlexGrid Pin
27-Apr-01 20:54
suss27-Apr-01 20:54 
GeneralRe: Adding Check Box in VSFlexGrid Pin
28-Apr-01 4:13
suss28-Apr-01 4:13 
GeneralCalling Erik, the deskband wizard Pin
Amit Dey27-Apr-01 20:21
Amit Dey27-Apr-01 20:21 
Hello Erik,
To continue on the topic of dynamic toolbands and XML:
As I told you, I'm writing a similar app. The problem is with parsing the XML. I tried to use Ben Bryant's CMarkup class, but it says that XML is not well formed no matter what I do.+ I'm a COM programmer and would like to use MSXML parser to parse the XML. I do have a XML parsing class, taken much after Stingray's OTL toolkits XML class. The problem is in searching the XML tags. It can only find the first matching tag but not beyond it. Look, I know you must be very busy writing a gadzillion of articles for guys like me, but I would like you to lookover my XML class and suggest improvements. Of course I can't post it to you right away, but well, I give you fair warning!Smile | :)

Anyway, for the toolband the general idea is to create a toolband and embed a toolbar(rebar)in it. On OnCreate of toolband, I create my buttons with relevant icons and text. This occupies half of the toolband's area. In the other half I would like to dynamically create buttons based on XML data. After the toolband's created it retrieves an XML file from the web server and parses it. Then in accordance with the data it creates buttons(links really). on clicking buttons I just call Navigate()on the interface I get from SetSite() to navigate to the appropriate url. I'm using a stl class to store URLs.
Is this what you are doing too?

Also, if you have seen Yahoo companion, you'd know the kind of dropdown buttons I'm talking about. basically dropdown with tracks states too. Is there already any class like this here at CP? I really don't wanna code the button class from scratch,unless I have to. What's the easy way out?;P
TIA.
GeneralRe: Calling Erik, the deskband wizard Pin
Erik Thompson30-Apr-01 6:30
sitebuilderErik Thompson30-Apr-01 6:30 
GeneralRe: Calling Erik, the deskband wizard Pin
Felix Cho30-Apr-01 10:18
Felix Cho30-Apr-01 10:18 
GeneralSaving from an add-in Pin
Vitaly Belman27-Apr-01 11:07
Vitaly Belman27-Apr-01 11:07 
GeneralRe: Saving from an add-in Pin
J Patel27-Apr-01 11:57
J Patel27-Apr-01 11:57 
GeneralTool bar buttons Pin
dana27-Apr-01 9:02
dana27-Apr-01 9:02 
GeneralRe: Tool bar buttons Pin
Michael Dunn27-Apr-01 13:17
sitebuilderMichael Dunn27-Apr-01 13:17 
GeneralRe: Tool bar buttons Pin
dana28-Apr-01 7:06
dana28-Apr-01 7:06 
GeneralRe: Tool bar buttons Pin
Michael Dunn28-Apr-01 8:04
sitebuilderMichael Dunn28-Apr-01 8:04 
Generaldisplay numbers in hex, bin and dec format Pin
hearties27-Apr-01 3:37
hearties27-Apr-01 3:37 
GeneralRe: display numbers in hex, bin and dec format Pin
l a u r e n27-Apr-01 10:31
l a u r e n27-Apr-01 10:31 
GeneralRe: display numbers in hex, bin and dec format Pin
Masaaki Onishi28-Apr-01 7:08
Masaaki Onishi28-Apr-01 7:08 
GeneralRe: display numbers in hex, bin and dec format Pin
l a u r e n28-Apr-01 7:31
l a u r e n28-Apr-01 7:31 
GeneralBeginner Question Virtual Key Code to ascii Pin
elbow27-Apr-01 2:05
elbow27-Apr-01 2:05 
GeneralRe: Beginner Question Virtual Key Code to ascii Pin
Michael Dunn27-Apr-01 13:21
sitebuilderMichael Dunn27-Apr-01 13:21 
GeneralCustom OLEDB Provider Pin
26-Apr-01 12:07
suss26-Apr-01 12:07 
GeneralCustom OLEDB Provider Pin
26-Apr-01 12:06
suss26-Apr-01 12:06 

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.