|
I've been trying to learn a bit of MDI , but I'm failing everytime. Anybody has links where I can learn MDI with a simple Example? I want to learn SDI with Multiple views too. Any help?
NULL
|
|
|
|
|
Search CP with the keyword MDI and see what happens.
Nibu thomas
Software Developer
|
|
|
|
|
Really poor response for the 'MDI' search . Did you search ? I actually needed a SIMPLE MFC MDI application.
NULL
|
|
|
|
|
|
Seriously I hate DOC/VIEW, MDI stuff
NULL
|
|
|
|
|
|
|
The link which is at the top, (developer.com) is excellent, and down to earth. Really superb , but it would have been better if he had continued deeper. Anyway it gave me a good basic idea about MDIs. Thanks again.
NULL
|
|
|
|
|
Hi
I tried to make a Native application with the help of following links:
http://www.codeproject.com/system/idd.asp AND
http://www.sysinternals.com/Information/NativeApplications.html
Here did settings and include library files for DDK.
and compile the program and compiled successfully, but when build the program it gives following error
Linking...<br />
LINK : error LNK2001: unresolved external symbol _DriverEntry@8<br />
hello.obj : error LNK2001: unresolved external symbol _NtTerminateProcess@8<br />
hello.obj : error LNK2001: unresolved external symbol _NtDisplayString@4<br />
Release/hello.exe : fatal error LNK1120: 3 unresolved externals<br />
Error executing link.exe.<br />
<br />
hello.exe - 4 error(s), 0 warning(s)<br />
So Please tell me that how to remove these errors.
Thanks
|
|
|
|
|
Have you linked to the necessary libraries?
Nibu thomas
Software Developer
|
|
|
|
|
Ya, have linked necessary libraris
ntoskrnl.lib hal.lib ,
Please help.
Thanks
|
|
|
|
|
rajeevktripathi wrote: Ya, have linked necessary libraris
ntoskrnl.lib hal.lib ,
You are missing something! Do check again for the required libraries.
Nibu thomas
Software Developer
|
|
|
|
|
hai everyone
i would like to know how can have different colors for the items present in a list control
|
|
|
|
|
|
Whitesky gave you a good link. But for starters this[^] one by Michael will help you a lot.
Nibu thomas
Software Developer
|
|
|
|
|
Friends,
When we create a PropertySheet, the tabs appear on the top. I want to show tabs at the bottom just like tabs of Visual Studio workspace window. How can i do so ?
Imtiaz
|
|
|
|
|
u can get the tabcontrol of a property page using GetTabControl()..
Then just set the TCS_BOTTOM style
m_GetTabControl()->ModifyStyle( 0, TCS_BOTTOM );
nave
|
|
|
|
|
It worked (y) Thanks...
Imtiaz
|
|
|
|
|
Hi,
Use TCS_BOTTOM style. This style is not supported if you use ComCtl32.dll version 6 (Refer MSDN).
Adios,
Cool Ju
Dream Ur Destiny
|
|
|
|
|
hai everybody
I have a problem in retrieving the size of the file.i have to monitor the directory and i have to show the filr name ,file size and date and time of file which is monitored.here i want to know how can i retrieve the size of the file.is there any function which can be used to retrieve that one.
If any body knows help me to get it done.
|
|
|
|
|
keerthikaaa wrote: is there any function which can be used to retrieve that one.
GetFileSize()
nave
|
|
|
|
|
Do something like that,
int fh = _open("myfile.txt", _O_APPEND , _S_IREAD | _S_IWRITE );<br />
int filesize = _filelength(fh);<br />
<br />
if (filesize == 0)<br />
{do something}
This requires following header files
1. io.h
2. fcntl.h
3. sys\stat.h
Good luck
We Believe in Excellence
www.aqueelmirza.cjb.net
|
|
|
|
|
An other approach is to use
FindFirstFile, and then the structure WIN32_FIND_DATA is filled with the file size as follows:
The size of the file is equal to (nFileSizeHigh * (MAXDWORD+1)) + nFileSizeLow.
both nFileSizeHigh and nFileSizeLow are members of the structure WIN32_FIND_DATA.
Yaron
Ask not what your application can do for you,
Ask what you can do for your application
|
|
|
|
|
This is the better method, because the file should be opened in those solution sent by other guys.
- NS -
|
|
|
|
|
Hello
I want more than one image in a single cell of a list control (Report view ). is there any direct method.
I tried with a custom class derived from CListCtrl but sizing the pictures to fit into the cell is the problem .
I am selecting a row by changing the bhcolor of that particular row. If i place an image on a cell in that row the picture is not appearing transparant. ie, the selection background is not displaying for that image. How can I over come this ?
Thanks in advance
Sandeep A.C
Sanc
|
|
|
|