Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
T

Tim Zorn

@Tim Zorn
About
Posts
28
Topics
6
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • acess violation...
    T Tim Zorn

    ok thanks. but now when it saves its the right size but blank. i think it has something to do with the pallette can u tell me what it is and how to make one? help would be appreciated thanks

    C / C++ / MFC graphics help

  • acess violation...
    T Tim Zorn

    i cant figure out why theres an access violation below WCHAR t[] = "image/bmp"; CLSID id; GetEncoderClsid(t, &id); Bitmap* bmp = 0; bmp->FromHBITMAP(hBmpFileBitmap,0); EncoderParameters encoderParameters; encoderParameters.Count = 1; encoderParameters.Parameter[0].Guid = EncoderQuality; encoderParameters.Parameter[0].Type = EncoderParameterValueTypeLong; encoderParameters.Parameter[0].NumberOfValues = 1; ULONG quality = 100; encoderParameters.Parameter[0].Value = &quality; bmp->Save(t2,&id,&encoderParameters); //access violation here help would be appreciated thanks a bunch:)

    C / C++ / MFC graphics help

  • changing what a pushbutton looks like
    T Tim Zorn

    i know how to put bitmaps on buttons now but i dont know how to do it the way i want. i want a bitmap to be stretched across the button and i want to be able to put text on the button. i have found an article that does it but i dont understand the source so im asking for help. For Example: a program called ICQ is skinned so it has custom buttons. but when i look at it's resourses the buttons are not ownerdrawn. all i want to do is make a custom button that has text on it. i dont even need the handling for if its selected, default, etc cuz i can find that out myself help would be appriciated thx:)

    C / C++ / MFC tutorial graphics

  • i dont understand why i cant...
    T Tim Zorn

    i know im doing it right because it works for titlebars and stuff read the post i made about the classes they are and maybe that will help u help me

    C / C++ / MFC data-structures help question

  • i dont understand why i cant...
    T Tim Zorn

    no, i already tried that. the classes of the edit controls im trying to read are UsTextEditPane and Ate32Class if that helps at all

    C / C++ / MFC data-structures help question

  • can't figure is out
    T Tim Zorn

    ok now i cant figure this out: how do u make a temporary table in an SQL db that expires automatically

    Web Development php database sysadmin tools question

  • i dont understand why i cant...
    T Tim Zorn

    can u fix this code for me? i dont understand how to use GETTEXTEX GETTEXTEX gte; ZeroMemory(>e,sizeof(gte)); gte.cb = 512; gte.codepage = CP_ACP; SendMessage(hwnd,EM_GETTEXTEX,(WPARAM)>e,(LPARAM)temp);

    C / C++ / MFC data-structures help question

  • i dont understand why i cant...
    T Tim Zorn

    no. ive only tried WM_GETTEXT. ill go see if it works. thanks for the help

    C / C++ / MFC data-structures help question

  • can't figure is out
    T Tim Zorn

    thanks again hockey:-D

    Web Development php database sysadmin tools question

  • how do u allow user to "draw" in SDK
    T Tim Zorn

    ok, thx. now how do u allow the user to draw on it?

    C / C++ / MFC help question

  • can't figure is out
    T Tim Zorn

    can someone tell me if theres a way to notify another php page when a page unloads without opening a new window or stopping the user from goin to the site he wants to? im asking this because i need to make a php script that logs people out when the close the window or leave a page. if seen automatic logout things on other websites but i can't figure out how they work? i cant just have cookies that expire when they close the window, because i want to have it so it echo's what users or how many users are currently viewing the page. not just if they have viewed the page. ive seen forums tell u what users are currently logged in..... P.S. if i need to use SQL or sumthing i have access to that on my server also

    Web Development php database sysadmin tools question

  • how do u allow user to "draw" in SDK
    T Tim Zorn

    how do u create a dc over ur whole dialog window and allow a user to draw lines on it? help would be appreciated thx:)

    C / C++ / MFC help question

  • i dont understand why i cant...
    T Tim Zorn

    i dont understand why i cant get the text from an editbox of a window its a window that was created durring runtime i tryed GetWindowText on a handle to the edit box but it outputs a bank char array is it somehow different for getting text from editboxes that are created during runtime? im pretty sure that the dialog window is created during runtime but i may be mistaken because its not my program that creates it help would be very appreciated thx:)

    C / C++ / MFC data-structures help question

  • Adding items to menu bar(similar to Add to favourites)
    T Tim Zorn

    first u have to get a handle to the menu or create ur own HMENU hMenu = CreateMenu(); HMENU hPMenu = CreatePopupMenu(); AppendMenu(hMenu,MF_STRING|MF_POPUP,(UINT_PTR)hPMenu,favmenuTxt); AppendMenu(hPMenu,MF_STRING,favID,favTxt); also in ur message process u need to handle for the WM_COMMAND message with (i think) wParam being the command ID

    C / C++ / MFC help tutorial question

  • Inserting String in middle of File
    T Tim Zorn

    u could always read the file, split it in half where u want to write then rewrite that to the file in the order u want i am also curious as to how to change where the file is being written/overwritten to

    C / C++ / MFC json

  • whatz wrong?
    T Tim Zorn

    char *t1="Tommy"; char *t2="Lee"; strcat(t1,t2); //wrong char t1[]="Tommy"; char t2[]="Lee"; strcat(t1,t2); //right char*'s are pointers to an array of char's

    Managed C++/CLI question

  • String to char* problem (varargs related?)
    T Tim Zorn

    ur char* is probably pointing to sumthing in the memory thats not a string so when u print it it shows u the ascii values of the numbers in the memory give me the complete code and ill tell u wut ur doin wrong

    Managed C++/CLI help question

  • Excel Program in c++?
    T Tim Zorn

    i could help u out put if u have an Instant messenger SN that would be easy cuz than u or i dont have to wait for replys my AIM SN = KilroyWasHere00

    Managed C++/CLI c++ help question

  • Domain Registration
    T Tim Zorn

    lol. domain registration is when u register a domain ex: urdesiredname.com when u register a domain ur not hosting files on a server, cuz u dont have a server. u register so that u can use that domain name for ur server. hosting is when u have a server and host files on it. u can use a registered domain name as the thing that users enter to view files that are hosted

    Web Development hosting question

  • html history
    T Tim Zorn

    u can't. the browser that the user uses handles hystory like that. depending on the browser u target u might be able to find a way to trick the browser into thinking it never viewed that page

    Web Development question html
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups