I am currently using the MapVirtualKey function, however it doesn't handle the shift characters to make special characters. I would have to convert each ascii code (1 to !, 2 to ", etc) manually, and...
Type: Posts; User: w4ck0z
I am currently using the MapVirtualKey function, however it doesn't handle the shift characters to make special characters. I would have to convert each ascii code (1 to !, 2 to ", etc) manually, and...
hello all,
I am ultimately trying to convert virtual key codes into ascii character codes; I am trying to make use of the function TranslateMessage() as it appears to do exactly what I want....
Although I understand the logic of using multiple cpp files in a project. I am unsure what would be a good way to impliment what I want to do... anyway:
I am writing a rather large Win32...
bool IsPalindrome(const char*d)
{for(int s=strlen(*(&d))-1,i=0;s>i;*(&++i))
if(!(d[s-i]==d[i]))return(0);return(1);}
wow, how pointless :p
I connot tell you how much that helped me, thanks a lot man.
I'm having trouble finding an example that works or even understand.
here is what I have so far:
void ColorizeBitmap(HWND hwnd, WORD Hue, WORD Saturation)
{
BITMAP bitty;...
hello, I have made a function that loops through a bitmap, converts each pixel to a HLS value, alters the values, then converts back to RGB, then sets the new pixel value.
Here is some rough test...
I did manage to find something that does what I want, GetExtendedTcpTable, but it only works on xp sp2, and I want it to work on 98 - xp
windows xp, The reason I want to do this is I think it will be a usefull feature in my program.
Also, I did not ask how to get the connections, I asked how to get the process associated with that...
Hello, I'm trying to make a program that will list all tcp/udp connections. I can get the actuall connections using GetTcpTable, GetUdpTable but how can I get the process that is associated with that...
I have been using masks to generate transparent areas of bitmaps for some time now, but I have just hit a problem.
In the mask, the black represents the transparent section and white represents the...
Hey 'RockaMic' would you be so kind as to show me your code used to send the email?
I've tried various ways using winsock, and I've not found a workable solution yet.
thank you
I have decided i would like to try and make a portscanner using winsock. I have a little experience with network programming, but only basic sending and recieving messages. If i understand correctly...
i have included <commctrl.h> and linked with comctl32.lib.
InitializeFlatSB(richedit1);
FlatSB_ShowScrollBar(richedit1,SB_VERT,true);...
i tried:
if(InitializeFlatSB(richedit1) == 0)
{
MessageBox(0,"InitializeFlatSB() failed","",0);
}
if(FlatSB_SetScrollProp(richedit1,WSB_PROP_VBKGCOLOR,(INT_PTR)RGB(0,0,0),true) == 0)...
I have a multiline richedit control with it's background set to black when the scrollbar appears it's blue(xp) and it kind of looks odd. Is there anyway to change this color?
i know of the...
thanks for that. I looked on msdn for an edit controls messages but not rich edit, silly really.
i have another question regarding rich edits, how can i insert pictures without using that STREAMOUT,...
What i am trying to do is copy the text that is currently selected in a richedit control into a buffer. One way to do this would be use EM_GETSEL to get what the current selection is. Then use...
oh well thanks anyway.
the download size isn't the problem, i actually thought it would be easier to do it, but it seems it's quite a big task.
hello, i use these forums all the time just to search for questions that have already been asked. i have a laptop that has no internet access, and i would like to store every single topic on these...
hello, on some programs they have different buttons instead of just minimize, maximize and close. How do they do that?
i'm guessing they use the style which leaves no border and title bar, and then...
i've changed my mind, now i just want to change the font of all combo box items to arial, how do i do this?
i tried the winprog tutorial code, but my compiler (msvc++) doesn't recognize 'CHOOSEFONT'...
would I have to make a bitmap for each and every font?
that's far too much trouble.
reading links now
hello, i'm writing a text editor using the win32 api, i have a drop down list box listing all the fonts,
but all the fonts are in the same default font, how can i make each font name to be written...