|
Hi all:
Can anybody gives me a fully explanations or references of FDT(File Directory Table).
Does it has something to do with the order appearing after the DOS command "dir"?
Thanks!
|
|
|
|
|
With FAT16, and possibly FAT32, the order in which files/folders are enumerated is governed by how they were added to the FAT initially. IIRC, files/folders on NTFS are enumerated alphabetically.
"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow
|
|
|
|
|
Thanks! Then how can I retrieve the FTD for specific folder?
|
|
|
|
|
I'm not familar with FTD in the context of folders. Could you be more specific?
"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow
|
|
|
|
|
Hi,
I have to create two propertysheets at runtime in dialog box.
when i run the project i get the last property sheet with dialog box and other controls
hidden.
if i run the project commenting one propertypage and viceversa i am getting the property
page and all the controls.
after creating each property sheet i used to call the modify style function.
can you give me any suggestion.
With Regards,
R.Sundaram.
|
|
|
|
|
how to get software package for vc++ project exe
|
|
|
|
|
Are YOu looking for Some Type of Installer.
Grab it from here INNO Setup
[^].
It's FREE
"I Think this Will Help"
<h5
alok gupta="" <br=""> visit me at http://www.thisisalok.tk
|
|
|
|
|
Hello ,
I want to give the int code and get string instead.
You know that 65 is A and...
I want this function for unicode keys.
Best Wishes,
Thanks.
|
|
|
|
|
I need to do some clean up work before my MFC SDI program exits. How and where can I break into the program to do these things. I need to close a serial port in particular.
Thanks
John
|
|
|
|
|
Where is the handle of your COM port stored ? You can close the port in the destructor of the class that contains this handle for example.
Or you can override the ExitInstance from your CWinApp class and close it there.
Hope this helps
|
|
|
|
|
hi all,
I am using Text boxes to MFC Dialog base Applcation.But I can not change the Color Scroll bars which appear with TextBoxes,ListBoxes like that..
How do I do that?
if any one this pl reply me..
Thanks in advance..
|
|
|
|
|
How to call javascript in mfc project without CHtmlView?
I have a source code implement IDispatch by CHtmlView,
but in my project I don't need it.
Thanks!
|
|
|
|
|
Sounds like you need to look at Active Script Host.
onwards and upwards...
|
|
|
|
|
Hi
I am working with Win32 serial communication programming in vc++. I was asked to use sliding window method here, but I am totally new and have no idea about this sliding window consept.
Can anyone please help me by giveing me some information on sliding window and its implementation algorithm and how it can be used in serial communication.
I would be of great help to me if any one can give me some inputs.
Thanks
Madhavi
|
|
|
|
|
Try Here[^]
or
Try using google and insert "sliding window method"
Ant.
I'm hard, yet soft. I'm coloured, yet clear. I'm fruity and sweet. I'm jelly, what am I? Muse on it further, I shall return! - David Walliams (Little Britain)
|
|
|
|
|
I have a few Property pages (not Wizard). On one of these I am displaying a picture (Picture Control). The file name is in a global variable. When I initialize it, the picture is displayed correctly. If a file is loaded, I want to show the picture when the user switches between the tabs. Currently when I come back to the tab with picture it is not displaying again. I have written the following code in OnSetActive event -
<br />
if (g_strFileName != "") {<br />
CDC *dc;<br />
dc = GetDC();<br />
CPicture ppic;<br />
ppic.Load(g_strFileName);<br />
CRect rc; GetDlgItem(IDC_RECT_BITMAP)->GetWindowRect(rc);<br />
ScreenToClient(&rc);<br />
ppic.Render(dc, rc);<br />
ReleaseDC(dc);<br />
}<br />
I am also calling Invalidate(TRUE) in InitDialog. Any help would be appreciated.
I have also tried OnPaint/ InitDialog etc. No luck. Thanks.
|
|
|
|
|
1. Are you returning CPropertyPage::OnSetActive(); in from your OnSetActive() function?
I am also calling Invalidate(TRUE) in InitDialog. Any help would be appreciated.
I have also tried OnPaint/ InitDialog etc. No luck. Thanks.
--> InitDialog() function is only called once and not everytime you navigate through the tab pages. so it won;t help.
Thanks
Abhi Lahare
|
|
|
|
|
Yes, I am returning return CPropertyPage::OnSetActive();
|
|
|
|
|
Thanks Abhi for replying to my question . I somehow found a solution. I made the picture control Transparent and Simple and moved the painting code to OnPaint. Now it seems to be working perfectly fine. Still not sure what the problem was .
|
|
|
|
|
I have a semi-transparent window. I need all mouse clicks to fall through to proper windows underneath mine. I need to implement a "click-through window"
How do I do this?
|
|
|
|
|
|
HTTRANSPARENT is usefull when you create a control and you want clickthrough to the parent... However in my case I want clicks to fall through a top level window to the underlying windows.
|
|
|
|
|
|
Hi all:
I'm required to manipulate files order through a listctrl, in that case the file ordering appears after the execution of DOS command "dir" must be the order I've specified in that listctrl. But note it has nothing to do with the command "dir" itself, the ordering after the execution of "dir" has some meanings to me!
I already come up with a solution which is the first file copy to the certain folder is appearing at the top of the list after execute "dir".
But with little testing I found that this solution is unreliable within certain environments. Such as if the destination folder is not clean (has some existing files and folders).
How can I accomplish this with other solutions?
Can anybody provides other alternatives, really stable ones!
Thanks for viewing!
|
|
|
|
|
As far as i know the DOS command dir lists files alphabetically.
|
|
|
|