Does highlighting tab controls not work properly with XP visual styles?
I am trying to make a custom highlighter. I changed the color of a tab control using the GDI painting functions, but then...
Type: Posts; User: ZeroG
Does highlighting tab controls not work properly with XP visual styles?
I am trying to make a custom highlighter. I changed the color of a tab control using the GDI painting functions, but then...
Each time I open a certain app, I want to know how many windows of this app are already opened.
I have an app which allows multiple instances.. each time I open the app, I want to dynamically allocate some storage for each already opened window.
What is the best way to count how many are...
try http://winprog.net/, especially the dialogs page.
aha, you are correct. thanks.
i also got "lucky" with calculator then..
and CreateProcess() is such a behemoth of a function.
i am trying to get mspaint to show the 'open' dialog..
WinExec("mspaint",SW_SHOW);
HWND hpaint = FindWindow("MSPaintApp",0);
SendMessage(hpaint,WM_COMMAND,57601,0);
what is wrong? it...
what steps do i need to follow? no need to post code, maybe just API names?
scanf("%f", &time);
accel = calc_answer(vi, vf, time);
show_answer(accel);
and i have no idea whats going on with the return statement.
ohh yeah. silly me. thanks.
my visual c++ 6 seems to not define ios_base::beg, cur and end, as used by ostream::seekp .. i am #including <fstream.h>. is this right? these values don't even appear in the IDE thing that completes...
can someone explain how to use ReadFile easily? for the most basic of read operations? the code compiles but fails on execution.
HANDLE file =...
thanks all for links and ideas.
thanks.
works fine for ints, but how about floating point? And how do you do logarithms by hand? (I only know to use log tables)
I need to implement some math functions without depending on a C library (such as exp, pow and log).. Where can I find algorithms or even code?
I've changed all the edit controls and buttons in a DialogBox to use a custom cursor with GetDlgItem and SetClassLong. However if the mouse is directly on the border of the edit controls then it...
hm, MSDN doesnt have SetWindowHook() although SetWindowsHookEx() is there. Unfortunately we can't get to the message loop of a DialogBox..
i know, but since someone's already written one.
aha yes, memmove is what i wanted, thanks.
ah, hooking..anyone care to give more info on that?
as for MFC, since its basically an api wrapper, how would the PreTranslateMessage be implemented in win32?
is there a library function which does something similar to shifting each of the elements in an array up or down (clearing the first element) and inserting the user input into the new empty one?
...
is it possible for a DialogBox to catch WM_KEYDOWN and similar messages no matter which control has the focus?
http://www.functionx.com/win32/ is also good.
it is not korean, it is CHINESE
yea, but both of these need the MSG struct, which is what i was asking for.
is it ok to return the result of CreateDialog in WinMain?