|
I'm not sure I understand, but does Invalidate() function work for you ?
TOXCCT >>> GEII power [toxcct][VisualCalc]
|
|
|
|
|
|
Big thanx! Try to use it!
|
|
|
|
|
Now have a new problem - i'm using a VC 6 but this project on a C#, and i can't include this dll to my project
|
|
|
|
|
*Differences between VxDs and DLLs (Win9x)
*when to write a VxD or when to write a DLL (Win9x)
*how to write VxDs in C or C++.
Tell Me Please
|
|
|
|
|
A VxD is a Virtual Driver
A DLL is a Dynamic Link Library
A DLL is a library of functions, classes, etc that can be use by any program which wants to stay a bit modular.
A VxD don't have any relationship with this...
TOXCCT >>> GEII power [toxcct][VisualCalc]
|
|
|
|
|
VxDs only for kernel-mode drivers.
That means, if you don't need any functions only accessable from kernel-mode (e.g. direct device access), then you don't need a VxD.
Don't try it, just do it!
|
|
|
|
|
Hi all:
What "0L" stands for, "L" is the data type "Long" right?
But in the statement above, is "L" a operator or something else?
Thanks
|
|
|
|
|
|
The "L " is simply part of the C/C++ language syntax for identifying "long " integer constants. In Visual C++, this isn't used as much as it was at one time. Currently, the int and long variable types are both 32-bit signed integers.
In 16-bit environments, int values were typically 16 bits, and you have to use long to get a 32-bit value. This was the case in Windows 3.1 and MS-DOS programming.
Software Zen: delete this;
|
|
|
|
|
i don't agree entierly
char is 8 bits long
short is 16 bits long
long is 32 bits long
BUT int depends on the system. 16 bits for example on Windows 3.1, 32 n WinNT, Win2K and current WinXP, but in few weeks, XP 64 will be available. int will so be 64 bits long !!!!!!!
TOXCCT >>> GEII power [toxcct][VisualCalc]
|
|
|
|
|
On Win32, long is 32 bits, not 64. Even on Win64, long is still a 32 bit integer.
Tim Smith
I'm going to patent thought. I have yet to see any prior art.
|
|
|
|
|
yes sorry, i know that, i just made a mistake while typing the post...
i edited it now
TOXCCT >>> GEII power [toxcct][VisualCalc]
|
|
|
|
|
You'll notice I qualified my statement by saying "Currently, the int and long variable types are both 32-bit signed integers". This statement is true for C++ compilers used in the Windows environment (any other environment doesn't apply; this is a Windows programming site, after all). I didn't think it necessary to be pedantic about it, given the elementary nature of the original question.
Software Zen: delete this;
|
|
|
|
|
Hi,
I have two radio buttons. onselecting one of the choices i want another text box to get enabled or become visible.
how can i implement either of these actions ?
Thanks
U get wht u Give
|
|
|
|
|
To Enable/Disable, use either :
EnableWindow(TRUE);
EnableWindow(FALSE);
To Show/Hide, use either :
ShowWindow(SW_SHOW);
ShowWindow(SW_HIDE);
TOXCCT >>> GEII power [toxcct][VisualCalc]
|
|
|
|
|
hi
I have Try alot to search chat application which is writen in the dialog eviroment but no found
i want it in the simplest of it`s example and briefly
explanation of it
|
|
|
|
|
|
Hi all,
Is there anyway to prevent losing data when trying to convert the float into long?
e.g:
float M=floor(13.22);//M=13
long N=long(M);//N=12????
Thanks.
Grenouille
|
|
|
|
|
|
By definition, you are going to lose data when going from float to long. What might be happening is that M=12.9999999 and thus returns 12 when doing the type conversion. Try this "long N = long (N + .5);". This is technically a round, but will avoid the whole problem with floating point numbers being inexact.
Tim Smith
I'm going to patent thought. I have yet to see any prior art.
|
|
|
|
|
HI
How can i use the values in one dilog box in another dilog box.
Can we pass values from one dialog box to another?
Thanks
U get wht u Give
|
|
|
|
|
|
basically, you have to pass the value to the new dialog's constructor...
so, you have to overload the constructor of your dialog's class, which contains as parameters the values to pass to it...
to recover the values after the dialog treated them, you could either read the members into the dialog object (still existing when dialog has closed) if the members are public, or you pass to the costructor some references.
TOXCCT >>> GEII power [toxcct][VisualCalc]
|
|
|
|
|
make a general class..... letz say CInfoz class,which has got all the information u need to pass to the second dialog.....
make an instance of the CInfoz class in both the dialog classes.....
then pass this infoz object whenever u open the new dialog .....eg:
say from one dialog class we call the second dialog...
dialog one
{
...
...
..
dlg = new CCreamzDlg;
dlg->infoz=infoz;//update the information
...
...
...
}
i hope u find thiz helpful!!!!!
cheerz.....
"faith, hope, love remain, these three.....; but the greatest of these is love" -1 Corinthians 13:13
|
|
|
|