Search:
Type: Posts; User: Sevko
Search:
Search took 0.05 seconds.
-
November 2nd, 2011, 12:56 PM
Hello everyone.
I'm trying to make a minesweeper program using directx9 and to draw different squares i'm using sprites so i wouldn't need a different texture for different types of squares.
I...
-
December 31st, 2010, 07:51 AM
Maybe I haven't made myself clear enough. The program works fine create calls start start initilizes all the variables and animal positions and then the board paints. And everything works ok you hit...
-
December 30th, 2010, 11:56 AM
Hi, for School work we got to do a retarded game and I'm nearly finished with the gameplay then it's on to improving the code. But the problem is with the CheckStatus function. If I put it in the end...
-
November 26th, 2010, 08:25 AM
Thanks it works now, but I found out about BCM_SETIMAGELIST so the whole mouse track to change buttons on hover was a bad idea. If any 1 happens to know how to use ImageList_Create and Add without: ...
-
November 25th, 2010, 08:36 AM
I uploaded the Main.cpp. I tried to subclass a button but after
OldButtonProcedure = (WNDPROC)SetWindowLongPtr(hButton, GWLP_WNDPROC, (LONG_PTR)ButtonProcedure);
the button dissapears. What is...
-
November 25th, 2010, 08:33 AM
-
November 23rd, 2010, 10:11 AM
the loadimage returned 0, because it worked, the problem was in the picture itself when i used another one it worked
-
November 23rd, 2010, 07:53 AM
I used the GetLastError right after the LoadImage function.
The value of get last error is: 0 The operation completed successfully.
So I don't know what's wrong I guess i can't use the getlasterror...
-
November 22nd, 2010, 12:38 PM
I have to translate what it says, but it's something like this:
Failed with error 0: Operation was successfully finished.
and by still doesn't I mean there is no image over the button like it is...
-
November 22nd, 2010, 09:18 AM
this works
HBITMAP hbmp = (HBITMAP)LoadImage(NULL, MAKEINTRESOURCE(OBM_LFARROWD), IMAGE_BITMAP, 0, 0, LR_DEFAULTSIZE);
but this still doesn't(I put the image to c just for fun)
HBITMAP hbmp...
-
November 21st, 2010, 06:49 AM
I'm trying to set the button an image like this:
HBITMAP hbmp = (HBITMAP)LoadImage(GetModuleHandle(NULL), (LPCTSTR)"Button.bmp", IMAGE_BITMAP, 0, 0, LR_LOADFROMFILE | LR_DEFAULTSIZE);
if(hbmp...
-
September 27th, 2010, 10:21 AM
OMG I didn't see that thank you, my compiler didn't even give me any warnings and I'm gonna Improve the code as soon as the program is good and working.
-
September 26th, 2010, 11:50 AM
I have a little problem I'm trying to make a TicTacToe program in winapi. I'm at the part where i'm writing the code if you try to select an area where an x or o is already set. The problem is that...
|
Click Here to Expand Forum to Full Width
|