|
Thank you.
Mazy
"The more I search, the more my need
For you,
The more I bless, the more I bleed
For you."The Outlaw Torn-Metallica
|
|
|
|
|
Always Welcome my friend...
R_Renjith The True CP ian
|
|
|
|
|
how to rotation a dialogbox??
example: rotation 45 degree!
I'm a beginner of VC++...
|
|
|
|
|
THe only way that is possible is to make a userdrawn window.
|
|
|
|
|
oh. my god! that's so......
i can't image that i need draw 100 windows!
I'm a beginner of VC++...
|
|
|
|
|
I'm confused with booleans. If I have these kind of methods in my classes
bool withdraw(float amount,Account a);
bool transfer(float amount,Account s,Account c);
could I still use couts and cin in my void main
|
|
|
|
|
I'd say your confused. So much so that I don't undestand the question.
--
Where are we going? And why am I in this handbasket?
|
|
|
|
|
I mean can the following be done:
bool Bank::withdraw(float amount,Account a);
cout<<"\nEnter a positive amount for the withdrawal-$";
cin>>amount;
while(amount<=0)
{
cout<<"\ninvalid amount";
cout<<"\nEnter a positive amount for withdrawal-$";
cin>>amount;
}
If there was an int or float in the place of bool I would not be so lost.
|
|
|
|
|
bool is just another type of variable, nothing magical about it.
--Mike--
Just released - RightClick-Encrypt - Adds fast & easy file encryption to Explorer
Like the Google toolbar? Then check out UltraBar, with more features & customizable search engines!
My really out-of-date homepage
Sonork - 100.10414 AcidHelm
|
|
|
|
|
Dee wrote:
could I still use couts and cin in my void main
This has no connection with having a function that returns a bool.
Nish
Regards,
Nish
Native CPian.
Born and brought up on CP.
With the CP blood in him.
|
|
|
|
|
How to create user in Active Dir on XP,2k
Please give sample code in VB+VC
...
Ibrar Ahmad
Softare Engr.
Comcept PVT LTD.
Islamabad
abrar_@yahoo.com
|
|
|
|
|
|
hi,
how can i get the height and width of a window?
|
|
|
|
|
Send a Message to that windows Hwnd
I'm a beginner of VC++...
|
|
|
|
|
Depends on whether you want the client are size or the actual windows size (including the titlebar, scroll bars, status bar, etc..)
Use either GetClientRect() or GetWindowRect().
--
Where are we going? And why am I in this handbasket?
|
|
|
|
|
Check GetWindowRect() .
Mazy
"The more I search, the more my need
For you,
The more I bless, the more I bleed
For you."The Outlaw Torn-Metallica
|
|
|
|
|
hi
To get the height and width
You must
RECT rect;
::GetWindowRect(&rect);
then u will get the window dimensions to the rect structure variable
Then
long left,right,top,bottom,height,width;
left=rect.left;
right=rect.right;
top=rect.top;
bottom=rect.bottom;
height=bottom-top;
width=right-left;
try it...
The TRUE CP -ian
|
|
|
|
|
how to post a BMP file on a CommandButton??
Bitbmp Button!
I'm a beginner of VC++...
|
|
|
|
|
A very customizable button, with everything it takes can be found here
Best regards,
Alexandru Savescu
|
|
|
|
|
Use a derived class from CBitmapButton
The TRUE CP -ian
|
|
|
|
|
Derive a class from CBitmapButton
The TRUE CP -ian
|
|
|
|
|
who can give me a DES code... (C/C++)
|
|
|
|
|
i want to use installshield for vc++6.0 to make a single EXE file.
how can i do it? Installshield for vc++ can not build a single EXE file!
...
I like vb/vc..
|
|
|
|
|
tiaozi wrote:
Installshield for vc++ can not build a single EXE file!
Yes,I don't think it can.IF you want only one file there you have to use another installshield.I think there is one called "wise installer" that make only one file.
Mazy
"The more I search, the more my need
For you,
The more I bless, the more I bleed
For you."The Outlaw Torn-Metallica
|
|
|
|
|
thank you for your reply.
Installshield for VC++6 Can not build a single EXE file.
But Installshield Prefessional Version can do it!
|
|
|
|