Thank you :) Do you believe thereīs some way for me to take that style away from all my dlg controls without having to intercept each of them at wm_initdialog like you described?
Type: Posts; User: Templario
Thank you :) Do you believe thereīs some way for me to take that style away from all my dlg controls without having to intercept each of them at wm_initdialog like you described?
Ok, I am totally aware this is probably a lame question. The fact is that I have been working on this for so long that I can find an answer anymore. Iīm getting (even more) retarded.
My question...
Thank you both for answering. I am getting the TabControl display area and resizing the Dialog to fit it. I guess itīs kindda of what you guys are suggesting me.
So tell me: Thereīs absolutely no...
Wow, 40 views and no replies, that is enough for me to understand that I am probably asking an extremely dumb question.
Sorry about that :p
I have an app with about 200 controls created with CreateWindowEx at wm_create. Iīm now converting this controls to 3 dialogs at a resource file... Each dialog will show as a page called by a...
I am intercepting SC_MINIMIZE at WM_SYSCOMMAND to hide my app to the SysTray. Actually all Iīm doing until now is a ShowWindow(Main, SW_HIDE);
Now Iīm trying to create the Minimize to Tray...
Thanks for the reply Novacain, I think Iīm getting it now :)
Let me abuse of your patience for a while, i just noticed this at MSDN description of IcmpSendEcho():
Requirements
Client: Included...
Just a small comment... You code god already know the structure of IcmpSendEcho, anyway here it is:
//From MSDN
DWORD IcmpSendEcho(
HANDLE IcmpHandle,
IPAddr DestinationAddress,
LPVOID...
In my app whenever a button is pressed, a function starts checking the state of some Checkboxes and Edit Controls and start X (up to 10) threads to ping the host adresses that were in this Edit...
Ehr...The problem on loading the Color Scheme file is solved lol, i was beeing stupid.
The real problem is on getting the values from the ColorScheme.ini to COLORREFs... GetPrivateProfileString is...
My program loads some things from a ini file using GetPrivateProfileString. One of the things it loads is the name of the current Color Scheme file (.ocl).
Once it loads this name to a string, my...
...oh ####...
...I am so ashamed...
Iīm sure you already saw what was wrong above...
DLL* instead of DDL*
Thatīs it, I am getting some sleep now and new glasses monday...
Sorry, let this...
Is anyone using CB_DIR message with no problems when compiling with MingW? I canīt use it. No matter which wParam I add to it (DLL_*) I get it is 'Undeclared". MSDN tells me I should only be...
Solved: To change the text color on a button with a BS_GROUPBOX style you have to intercept case WM_CTLCOLORSTATIC not WM_CTLCOLORBTN.
Donīt ask me why, it sux but it works :)
I have seen some discussion here and at other forums about using WM_CTLCOLORBTN and i know i should not use it to change the colors of a PUSHBUTTON but what about a GroupBox?
I am trying to set...
Ok so the Tab dividers now are totally color customizable and that is great.
But i canīt find a way to set a BG color for the tab 'pages' (sorry i donīt know how to name it, but iīm sure you all...
Hey Rpet,
Thanks for the link, lt has helped a lot!
I have already adapted my code to it, now i can change the TAB CONTROL TXT and BG colors. Iīm now trying to find a way to change the BG color...
I am trying to make my program fully color customizable. Thereīs a "Config Color" window where the user can click to open a ChooseColor common dialog to select TXT and BG color for all the controls....
Hey fou, thanks a lot :) I was living hell trying to find a way to make expat generate the xml, and i could find no documentation on that :)
I had to print your post on this thread and show it to...
Ok, sorry. Iīm having a very bad week filled with very serious problems. And I know no one got nothing to do with that. So I apologize.
You know how a job is: I canīt just choose to create a xml...
Is anyone using EXPAT? Help needed!
Can anyone point me to a simple example on creating a simple XML document using EXPAT ?
All I read on EXPAT site is a little to techie for me, I am looking...
omg...
Can anyone point me to a simple example on creating a simple XML document using EXPAT ?
All I read on EXPAT site is a little to techie for me, I am looking for something clearer.
As a matter...
Finally :) EN_SETFOCUS solved the problem, first time i use it...
case WM_COMMAND:
if (((HIWORD(wParam))==EN_SETFOCUS) && (tabnumber==0) && (allcreated==1)) {
...
Thanks for your reply Ken,
I have tried to correct my code the way you wrote on your post, but the program is behaving in the exact same way :( Works for the first click and thats it.
I canīt find...