|
Whats that? I just need something like win32 functions.
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
|
|
|
|
|
It's how an NTFS and a FAT32 partition entrance looks like.
|
|
|
|
|
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
|
|
|
|
|
Use GetVolumeInformation()
the Function params are
BOOL GetVolumeInformation(
LPCTSTR lpRootPathName, // root directory
LPTSTR lpVolumeNameBuffer, // volume name buffer
DWORD nVolumeNameSize, // length of name buffer
LPDWORD lpVolumeSerialNumber, // volume serial number
LPDWORD lpMaximumComponentLength, // maximum file name length
LPDWORD lpFileSystemFlags, // file system options
LPTSTR lpFileSystemNameBuffer, // file system name buffer
DWORD nFileSystemNameSize // length of file system name buffer
)
the out var lpFileSystemBuffer will give you the info abt
Type of ur partition(NTFS/FAT)
try it..
The TRUE CP -ian
|
|
|
|
|
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
|
|
|
|