Bassically I have a MFC app in which I have a MainFrame with a childWindow being a dialog.
My problem is that buttons on this window are disabled and I can't seem to re-enable them.
Is the dialog...
Type: Posts; User: prongs_386
Bassically I have a MFC app in which I have a MainFrame with a childWindow being a dialog.
My problem is that buttons on this window are disabled and I can't seem to re-enable them.
Is the dialog...
ok, i fixed it.
Pretty stupid problem really.
When I was compiling with VS2k3, it wasn't remaking my .obj files, so it wasn't detecting that there were link issues such as redefining a variable....
Im having a bit of an issue with one of my MFC dialogs. After declaring a variable of the dialog class, it gets NULL... like this.
CMyDialog dlg;
so my progam crashes as soon as I use i etc.....
thanks CornedBeef.
So If I draw a line one the screen, and want it to stay there, even after it has changed... how can I use the SetROP() to stop the current window being writen over?
I wasn't...
Thanks for that, works really well.
I have another problem, I want for my drawings to be saved, but I need to refresh and clear the buffer i'm drawing in. I'm trying to have a line drawn when I hold...
HI, I have a simple question about painting in a standard win32 application window.
How do I go about updating my display.
At the moment I have a WM_PAINT message handler which will paint a line,...
well, its not so much an install process. Do you have the .lib file? that is all you need.
You drop it into your project folder.. or if you want it in multiple projects you could set dev c++ to use...
well normally yes...
but I'm not making a mod that is loaded by the source engine. In this case, all convars would be registered yes.
But I am making an external program which hooks in and needs...
my macro code still results in a crash
this is it.
#define MACRO_CVARS(pName, pStartVal, Description) \
{ \
static ConVar Cvar_##pName(#pName, #pStartVal, NULL,...
hmm, you've probably not chosen to install templates when you set it up....
can't remember if thats an option or not, but the other possibility is that you've installed the program on e but the...
thankyou so much for that info. I will have a look later today, i did try making a macro for it but it still resulted in a crash. I will have a look at theirs though.
I'm not entirely sure how the variables get deregistered, but all i know is, if i try any other method of registering them, it will just result in a crash
hmmm,
i will have lots, so i want a streamlined approach lol.
and again, i don't want to have to predefine the pointers.
i just want the one function to do it all, no matter how many entry's...
thanks for the help, i did also try using it as an object but decided against that due to the deletion of object.
this code bassically adds a variable into a computer game externally.
but my...
I have this code which i want called in a function, in my class, but it wont't work as i need a seperate set of variables for each time i call the function.
here is the code
static ConVar...