Search:

Type: Posts; User: w4ck0z

Search: Search took 0.00 seconds.

  1. Replies
    3
    Views
    2,294

    I am currently using the MapVirtualKey function,...

    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...
  2. Replies
    3
    Views
    2,294

    TranslateMessage() without a window?

    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....
  3. Replies
    5
    Views
    4,182

    Multiple Cpp Files

    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...
  4. Replies
    16
    Views
    3,606

    bool IsPalindrome(const char*d) {for(int...

    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
  5. Replies
    4
    Views
    6,208

    I connot tell you how much that helped me, thanks...

    I connot tell you how much that helped me, thanks a lot man.
  6. Replies
    4
    Views
    6,208

    I'm having trouble finding an example that works...

    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;...
  7. Replies
    4
    Views
    6,208

    Processing Bitmap Data

    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...
  8. Replies
    4
    Views
    1,852

    I did manage to find something that does what I...

    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
  9. Replies
    4
    Views
    1,852

    windows xp, The reason I want to do this is I...

    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...
  10. Replies
    4
    Views
    1,852

    Listing current connections

    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...
  11. Thread: bitblt mask

    by w4ck0z
    Replies
    1
    Views
    1,984

    bitblt mask

    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...
  12. Thread: port 25 block..

    by w4ck0z
    Replies
    12
    Views
    2,530

    Hey 'RockaMic' would you be so kind as to show me...

    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
  13. Thread: Port Scanner

    by w4ck0z
    Replies
    2
    Views
    2,112

    Port Scanner

    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...
  14. Replies
    4
    Views
    3,282

    i have included and linked with...

    i have included <commctrl.h> and linked with comctl32.lib.



    InitializeFlatSB(richedit1);
    FlatSB_ShowScrollBar(richedit1,SB_VERT,true);...
  15. Replies
    4
    Views
    3,282

    i tried: if(InitializeFlatSB(richedit1) ==...

    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)...
  16. Replies
    4
    Views
    3,282

    color edit control's scroll bar

    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...
  17. Replies
    2
    Views
    866

    thanks for that. I looked on msdn for an edit...

    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,...
  18. Replies
    2
    Views
    866

    Get text selection?

    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...
  19. Replies
    6
    Views
    2,278

    oh well thanks anyway. the download size isn't...

    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.
  20. Replies
    6
    Views
    2,278

    store all cboard.cprogramming.com topics

    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...
  21. Replies
    1
    Views
    1,147

    different title bar buttons

    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...
  22. Thread: font list

    by w4ck0z
    Replies
    4
    Views
    1,767

    i've changed my mind, now i just want to change...

    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'...
  23. Thread: font list

    by w4ck0z
    Replies
    4
    Views
    1,767

    would I have to make a bitmap for each and every...

    would I have to make a bitmap for each and every font?
    that's far too much trouble.
    reading links now
  24. Thread: font list

    by w4ck0z
    Replies
    4
    Views
    1,767

    font list

    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...
Results 1 to 24 of 25