Ok, thanks.
It works fine that way I do it, but it is probably not the best way to do it (hide and show the window every time something happens in the editbox)
The best way would to look the...
Type: Posts; User: Dampy
Ok, thanks.
It works fine that way I do it, but it is probably not the best way to do it (hide and show the window every time something happens in the editbox)
The best way would to look the...
Ok thanks, but I don’t understand how to chance the highlighting colors, or at least how to know that I am editing the highlighting-color?
EDIT:
Hum, I read in another forum that my way to do it...
Hi
I have a little problem when I am using "HOLLOW_BRUSH" as a background (?)
I create a editbox and sets the readonly-flag, but the background goes grey and I want it white.
To prevent that I use...
Hi.
How do I set a font type for all the objects I have created?
Instead of sending this to all objects(buttons, labels, boxes ..):
SendMessage(hwnd, WM_SETFONT,...
It´s very straight forward, I am trying to take a screenshot of a running game using DX :P
Yes, I have already achieved that, but the problem is that the functions are to slow so the screens get...
Thanks for the tip =P
So, I can´t take a whole “one frame” of a running game using dx?
The only way to do that is to “lock” the game, and then screen it?
And that is not possible on a game...
The code look like this now:
HRESULT InitD3D(HWND hwnd)
{
g_pD3D = Direct3DCreate9( D3D_SDK_VERSION );
if( g_pD3D == NULL ) {
MessageBox(NULL, "failure of Direct3DCreate9",...
Thanks for pointing me on the right way, now it´s working like a glove =)
But I have 3 miner issues I hopped if someone can point me to a solution:
I am trying to take sceenshots in a game that...
Yes, you probably have right, but I donīt think it is something to do with bad code. or?
because I can start a program that looks like this:
#include <d3d9.h>
#include <d3dx9.h>
#include...
Now I have installed the directX Dev-pack for dev-c++, and the samples works fine and my program compiles as it should.
But, when I try to start my program it crashes.
When I debug it I get the...
Yes
I tried to add all the libs to my project and i even tried to use the "unicode version", but I get the same error.
This is one of the articles:...
I get the same error :/
"undefined reference to `D3DXSaveTextureToFileA@16'"
But SurfaceLoader is a class/function in dx?
http://msdn.microsoft.com/en-us/library/bb296130(VS.85).aspx
So, how do I define in?
Hi, I am trying to take a screenshot using directX.
I have tried to compile some samples and read some articles but I can´t get it to work.
The problem is the 2 functions that saves the surface...
EDIT:
I think I have found a way to do it now, de first time I did it wrong ^^
I hope someone can confirm that I am doing it right now:
I set this to be global:
HBRUSH g_hbrBackground =...
Ha, thx
I have tried \r and \n but not together :) Thx anyway!
Hi
I wonder how I do a linebrake/enter in a readbox
My problem is that when i paste this:
line1\nline2
It gives me:
Line1Line2
How do I get rid of the -> ?
Hi
I wonder how I set cout<< list.getText(list.selectedItemIndex);" to get the string with that name instead of only paste the name that is selected.
Letīs say I select FIRE" in the list, and...