Search found 3 matches

by Aiscanf
Sun Apr 19, 2009 9:24 am
Forum: General Discussion and Feedback
Topic: 1:1 MSPaint clone - not ? but !
Replies: 411
Views: 149038

Re: 1:1 MSPaint clone - not ? but !

i modified the sourcecode so that it could be compiled with MSVC(VS2008)
it seems to be that the "undo" and some other functions don't work very well......
maybe it because of the changes i did with the code..
i'will try to check it out
:)
by Aiscanf
Wed Apr 15, 2009 2:20 pm
Forum: General Discussion and Feedback
Topic: 1:1 MSPaint clone - not ? but !
Replies: 411
Views: 149038

Re: 1:1 MSPaint clone - not ? but !

void SaveDIBToFile(HBITMAP hbm, char name[], HDC hdc) { BITMAP bm; GetObject(hbm,sizeof(BITMAP),&bm); BITMAPFILEHEADER bf; BITMAPINFOHEADER bi; int imgDataSize = bm.bmWidthBytes*bm.bmHeight; bf.bfType = 0x4d42; bf.bfSize = imgDataSize+52; bf.bfReserved1 = 0; bf.bfReserved2 = 0; bf.bfOffBits = 54; b...
by Aiscanf
Wed Apr 15, 2009 1:29 pm
Forum: General Discussion and Feedback
Topic: 1:1 MSPaint clone - not ? but !
Replies: 411
Views: 149038

Re: 1:1 MSPaint clone - not ? but !

but i still can't compiler the codes by msvc(vs2008)....
too many errors and warnings ....