|
I help to you first what do you need? if see in File->New you can create many projects but it seems that you are new so you can create a MFC Application and next step in Application Type use Dialog based and click Finish button for compile in Debug menu select->Start Without Debugging.
If you have any problem maybe i can help to you
|
|
|
|
|
I want to ask about some help with: "GuiToolkit MFC Extension"
http://www.codeproject.com/library/guitoolkit.asp
I am writeing the MFC application (VS2003 Std - I am not useing the document-view architecture!). I do some practice with the GuiToolkit library. I can create a button or combobox. But I can not to make XP Style menu. I see this examples in folders: CGuiAccess or CGuiTabbedDemo, but it shows me in the old way.
Regards
mwgomez
Poland
|
|
|
|
|
Of course the examples from GuiLib are running propperly.
Regards
mwgomez
Poland
|
|
|
|
|
Hi all,
I want to change the font of a control, specifically CListView control, I know how to create a font, and how to select it into a device context, lets assume that my font is ready to use (MyFont), in what dc should I select it???
I have tried:
MyListView.GetDC()->SelectObject(&MyFont);
and
MyListView.GetListCtrl().GetDC()->SelectObject(&MyFont);
and neither of them works!!! so whats the problem?????????
And ever has it been that love knows not its own depth until the hour of separation
|
|
|
|
|
Have you tried the SetFont() method?
"Talent without discipline is like an octopus on roller skates. There's plenty of movement, but you never know if it's going to be forward, backwards, or sideways." - H. Jackson Brown, Jr.
"Judge not by the eye but by the heart." - Native American Proverb
|
|
|
|
|
Yes, it definitely works!!!
Thanks David...
And ever has it been that love knows not its own depth until the hour of separation
|
|
|
|
|
I am working on SDI application that creates a modeless dialog, the problem is that modeless dialog always remains in foreground, even if i click on the title bar of the sdi frame. I have set style of sdi frame window to WS_EX_TOPMOST but it donot works for modeless dialog. How can i bring modeless dialog to the back of Z order, SetWindowPosition also do not work. It looks that windows always puts modeless dialog in forground of main window. how this default behaviour can be changed.
|
|
|
|
|
Create the dialog as child of the desktop (GetDesktopWindow()) instead of the main application window ...
|
|
|
|
|
Thanks for the idea, instead of making it child of desktop i have made it child of another class, because i dont know effects of making it child of desktop it may mind any how the problem is solved.
|
|
|
|
|
Does anyone know where the tab order of the controls placed on a Dialog Box is stored? I want to change this by hand 'cause visually it'g getting kindoff hard
|
|
|
|
|
it is stored in the order in which the #includes of the controls ID are ordered in the resource.h
BTW, do you know that graphically, you are allowed to click on the order number as part of a control to select it ?
|
|
|
|
|
toxcct wrote: it is stored in the order in which the #includes of the controls ID are ordered in the resource.h
Nope. Their initial z-order is governed by the order in which they appear in the dialog's template (the .rc file).
"Talent without discipline is like an octopus on roller skates. There's plenty of movement, but you never know if it's going to be forward, backwards, or sideways." - H. Jackson Brown, Jr.
"Judge not by the eye but by the heart." - Native American Proverb
|
|
|
|
|
ok, i thought it was related... but that's ok now. thanks
|
|
|
|
|
Thanks. I didn't know that.
|
|
|
|
|
Hi there,
I am trying to develop socket client-server application in c++ using command promp, but i could not develop it in a good way. Is there any1 who already developed it?? If yes then plz tell me abt it.
Waiting 4 reply, Thank u.
|
|
|
|
|
hiral_shah wrote: but i could not develop it in a good way
What seems to be the problem? The server/client part and the way users use it are not neccesarely related (the sockets part is the same for a console app or for a Windowed GUI app)
|
|
|
|
|
I have developed in MFC but I want it in C, but i do not have tc compiler for 64 bit amd processor, i have tried to search compiler but i could not. and 32 bit is useless for me. If you have any link for this 64 bit tc compiler then give me that. Now tell me what should i do???
|
|
|
|
|
Im working in C++ Win32 Console with MFC support, and i want the cout part to go the opposite direction. Lets say i did:
cout << "1"endl;
cout << "2"endl;
cout << "3"endl;
and then build without debug it would show
1
2
3
Press any key to contine...
But i want it to append new lines backwards, so it would become
Press any key to contine...
3
2
1
Is this possible? if so how?
//Johannes
|
|
|
|
|
Johpoke wrote: But i want it to append new lines backwards, so it would become
can u show the code?
nave
|
|
|
|
|
Well currently there is no code, as im only going to try to program it if i know i can make console go backwards, basicly im only going to be using cout, to try to create a matrix text rain effect...
/Johannes
|
|
|
|
|
some time the WriteConsoleOutput() will help u..
nave
|
|
|
|
|
create a handle to STDIN and use it as if it were a file...
Or you could use a buffer and after you've finished building up the output strings, just print them in the reverse order
|
|
|
|
|
Hi all
I am getting problem while using InternetOpenURL in Wndoe service. It fails. But if the same code I try through a seaparte EXE it works. and It happens only on XP.
"A winner is not one who never fails...but the one who never quits"
|
|
|
|
|
Ganesh_T wrote: I am getting problem while using InternetOpenURL in Wndoe service.
To determine why access to the service was denied you can use InternetGetLastResponseInfo()or you can also use GetLastError() to retrieve a specific error message.
Somethings seem HARD to do, until we know how to do them.
_AnShUmAn_
|
|
|
|
|
See the Return Values section here.
"Talent without discipline is like an octopus on roller skates. There's plenty of movement, but you never know if it's going to be forward, backwards, or sideways." - H. Jackson Brown, Jr.
"Judge not by the eye but by the heart." - Native American Proverb
|
|
|
|