|
Use XML DOM.
Search MSDN Library and you'll find good help!
Rickard Andersson@Suza Computing
C# and C++ programmer from SWEDEN!
UIN: 50302279
E-Mail: nikado@pc.nu
Speciality: I love C#, ASP.NET and C++!
|
|
|
|
|
Is that COM components? Or am I wong. I want to use libraries.
|
|
|
|
|
Verifier wrote:
I want to use libraries
Write your own library!
The best way to learn XML in C++!
Rickard Andersson@Suza Computing
C# and C++ programmer from SWEDEN!
UIN: 50302279
E-Mail: nikado@pc.nu
Speciality: I love C#, ASP.NET and C++!
|
|
|
|
|
If I wanted to do that, i wouldnt have asked, right?
|
|
|
|
|
Try those good article on CP (much easier to use than DOM)
Markup[^]
MarkupArchive[^]
Jonathan de Halleux.
|
|
|
|
|
|
|
How to get an IP address of a local computer?
Please send me any example/code/API.
Reply me soon
|
|
|
|
|
127.0.0.1
Best regards,
Alexandru Savescu
P.S. Interested in art? Visit this!
|
|
|
|
|
|
Is there a Shell or API function that I can specify a FullPath to a file, and have the shell open explorer and highlight the file.
Like when you perform a Find Target on a shortcut?
|
|
|
|
|
You can check out this article to get a code that will do it...
http://www.codeproject.com/shell/FoundInFolder.asp
Hope this helps.
|
|
|
|
|
thanks.
It certainly does... In fact even though the author said it only works in Win98, it still works properly in Win2k
|
|
|
|
|
there is new XP function SHOpenFolderAndSelectItems
|
|
|
|
|
Hi everybody and please excuse my poor English,
I would like to write a directshow filter that operate directly on Compressed video streams by changing some parameters (contrast or light), is it possible without uncompressing the video file ?
Where can i find some documentation or a sample source code ?
Thank you.
|
|
|
|
|
Hi,
I would like to create a CTreeCtrl which has a CToolBar embedded. The result should be a new control. Is this possible and if so how do I achieve this?
I presume it is possible to change the CTreeCtrl because the windows explorer does so too. It creates a grey bar with the caption "Folders" and a close button.
Any suggestions?
Thanks,
Henk
|
|
|
|
|
Woody Green wrote:
I presume it is possible to change the CTreeCtrl
Sure, this is possible. You can customize your CTreeCtrl just by creating a class derived from it. if you want to create a new ctrl, derive it from the CWnd. Look at Riazi's answer to a similar question a few posts earlier.
~RaGE();
|
|
|
|
|
Draw a DialogBox with TreeCtrl and without border in your ressource.Add a class (CTreeExplorerBar in example)
in Mainframe.h
protected:<br />
CTreeExplorerBar m_wndTreeBar;<br />
in Mainframe.cpp
if (!m_wndTreeBar.Create(this, IDD_TREE, <br />
CBRS_LEFT | CBRS_TOOLTIPS | CBRS_FLYBY, IDD_TREE))<br />
{<br />
TRACE0("Impossible de créer la Dialog Bar\n");<br />
return -1;
}<br />
m_wndTreeBar.EnableDocking(CBRS_ALIGN_LEFT | CBRS_ALIGN_RIGHT);<br />
EnableDocking(CBRS_ALIGN_LEFT | CBRS_ALIGN_RIGHT);<br />
DockControlBar(&m_wndTreeBar);<br />
m_wndTreeBar.UpdateData(FALSE);
Hope this helps
|
|
|
|
|
I am writing a custom drawn list view (Report View mode), and think the CDDS_PREERASE and CDDS_POSTERASE messages might be useful, however, I can't get windows to send them.
I'm wondering if they are supported for list views as,
I can't find an example of their use,
Can't get them to work after returning the CDRF_NOTIFYPOSTERASE value,
And found an article in which the author admitted not being able to get them to work.
So does anyone know if they are supported?
If yes how?
|
|
|
|
|
Have you tried using Spy++ or Winspector (here on CP) to see if the notifications are being sent?
Have you searched MSDN - http://msdn.microsoft.com/default.asp[^]
There is also a CtrlSpy app on MSDN which may be worth a look.
FYI I use CDDS_PREPAINT & CDDS_ITEMPREPAINT without any problems.
Neville Franks, Author of ED for Windows. www.getsoft.com
Make money with our new Affilate program
|
|
|
|
|
Hi...
I am experiencing problems when I try to link openGL applications in visual C++ 6. I get the following output:
--------------------------------------------------------------------------------
glsample.obj : error LNK2001: unresolved external symbol __imp__glPopMatrix@0
glsample.obj : error LNK2001: unresolved external symbol __imp__glEnd@0
glsample.obj : error LNK2001: unresolved external symbol __imp__glVertex2f@8
glsample.obj : error LNK2001: unresolved external symbol __imp__glColor3f@12
glsample.obj : error LNK2001: unresolved external symbol __imp__glBegin@4
glsample.obj : error LNK2001: unresolved external symbol __imp__glRotatef@16
glsample.obj : error LNK2001: unresolved external symbol __imp__glPushMatrix@0
glsample.obj : error LNK2001: unresolved external symbol __imp__glClear@4
glsample.obj : error LNK2001: unresolved external symbol __imp__glClearColor@16
glsample.obj : error LNK2001: unresolved external symbol __imp__wglMakeCurrent@8
glsample.obj : error LNK2001: unresolved external symbol __imp__wglCreateContext@4
glsample.obj : error LNK2001: unresolved external symbol __imp__wglDeleteContext@4
LIBCD.lib(crt0.obj) : error LNK2001: unresolved external symbol _main
Debug/glsample.exe : fatal error LNK1120: 13 unresolved externals
Error executing link.exe.
--------------------------------------------------------------------------------
It seems as if I am missing some libraries or something? I am running winXP pro. Im a beginner openGL-programmer, and haven't much experience with MS-VC++ either...
Thank you
-- Thomas Lund Dideriksen
|
|
|
|
|
Add the following code
#pragma comment(lib, "opengl32.lib")
#pragma comment(lib, "glu32.lib")
Jonathan de Halleux.
|
|
|
|
|
Is there a way to make a program check for WM_TIMER message more frequently? I'm getting too much delay time between messages.
|
|
|
|
|
Dov Sherman wrote:
I'm getting too much delay time between messages
You should handle those messages in separate threads. Thus, the message treating time is low and the system can pass quickly to the next one in the queue.
rechi
|
|
|
|
|
But I don't want the work done by my WM_TIMER event to be done at the same time as other events such as mouse-interaction since that would affect the data those events manipulate. I need to make certain that only one event is being performed at a time. I just want the WM_TIMER events to be checked more frequently or to be given a higher priority in the message queue.
|
|
|
|