|
You can use of DlgDirList it fills listbox with names of files and directories and also you can use filter files with last parameter of this function
what content of files you need?
|
|
|
|
|
Are you referring to MFC's CListBox::Dir() method, or the LB_DIR message?
"Approved Workmen Are Not Ashamed" - 2 Timothy 2:15
"Judge not by the eye but by the heart." - Native American Proverb
|
|
|
|
|
hi,
i tell u clearly wat i need.i have a folder containing files of the same extension.i want the filenames to be displayed in the listbox and need to raise a event to retreive the contents of the selected file.i am using a mfc application.
can ne 1 help me?????????????
zari
|
|
|
|
|
zareee wrote: i am using a mfc application.
So was my previous suggestion of any use?
zareee wrote: can ne 1 help me?????????????
Probably. Exactly which part are you needing help with (e.g., populating a listbox, responding to a listbox selection, determining what the current selection is)?
"Approved Workmen Are Not Ashamed" - 2 Timothy 2:15
"Judge not by the eye but by the heart." - Native American Proverb
|
|
|
|
|
I am tring implement Packet Sniffer.
How to extract all Details from bytes received to Network Card (in Packet Sniffer) ?
How to know data received throught which protocol?
|
|
|
|
|
To implement a packet sniffer you need to know protocols intimately!
Via Google this link will get you started...
Protocols[^]
|
|
|
|
|
Aniket Salunkhe wrote: How to extract all Details from bytes received to Network Card (in Packet Sniffer) ?
How to know data received throught which protocol?
look for iphelper apis or http://netsecurity.about.com/cs/hackertools/a/aafreepacsniff.htm
"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow
cheers,
Alok Gupta
VC Forum Q&A :- I/ IV
Support CRY- Child Relief And You
|
|
|
|
|
when I using COleDataSource::SetClipboard() function in MFC project is no problem, but in Win32 project(include MFC support) is error(Runtime Error! this application has requested the runtime to terminate it in an unusual way.)
why?
|
|
|
|
|
Hi all,
I wanted to know are there any methods/api available to get to know the VPN details. Am using MS Visual studio 2003 IDE. The application is built in vc++.
Any help or advices will be appreciated .
Thanks
Sunil
Sunil
|
|
|
|
|
To provide imageList is only Possible with CListCtrl ? It is not possible with CListBox ...
If Possible please help me for that by giving the steps to achieve it..
Thanks n Regards
Shikha
|
|
|
|
|
The list box is an older control and came before the imagelist was created, so no you can't get images automatically in a list box unless you do owner-drawing. But if you need images, it's a heck of a lot easier to just use a list view control.
|
|
|
|
|
thanks for your reply .....
Listview can i use it on the Dialog box?? i want it on the Dialog box ..
Thanks n regards
Shikha
|
|
|
|
|
Yes you can use the list view in a dialog
|
|
|
|
|
I want to make my view-window just like MS-Excel.
My question is: How to make the Tab and scroll control in the same row???
-- modified at 20:20 Thursday 2nd November, 2006
|
|
|
|
|
I have an application with produce document/file with a lot of textual information into it (in a TAR-GZ format).
This application is for the general public (as opposed to corporate, so I cannot assume too much on what's on my user's computer, except we require XP or later).
Now the Windows user could search file, in the FileExplore, by right clicking on a folder => search.
I wonder if there is a way to extend this search so that it search in my files as well?
I have found the IFilter interface, but apparently it is only if you have the indexing service running. I don't know which one it is, but I will bet I don't have it running, nor my user.
Any tip?
|
|
|
|
|
I'm having somewhat of a strange problem. When overriding WM_NCACTIVATE to draw custom borders to my window, the window no longer becomes the foreground window. It has the focus, but is not the currently selected window within the Taskbar. A similar problem arrises when closing the window, the previous is neither selected or has the focus.
I have tried calling SetForegroundWindow() from various locations within the code, but it has no effect. A call to DefWindowProc() before my own code solves the problem, but creates others. Could anybody point in me in the right direction as to exactly which API call is required?
|
|
|
|
|
waldermort wrote: Could anybody point in me in the right direction as to exactly which API call is required?
SetWindowPos
"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow
cheers,
Alok Gupta
VC Forum Q&A :- I/ IV
Support CRY- Child Relief And You
|
|
|
|
|
I feel so stupid sometimes I tried it before, but I can't think why I didn't try the SWP_SHOWWINDOW flag. Thankyou.
|
|
|
|
|
What value are you returning from your WM_NCACTIVATE handler? The ret value is important for that message as it controls the active/inactive state of the window after the handler returns.
|
|
|
|
|
I should have read the docs a little more carefully. I was handling the WM_NCACTIVATE to get the required state for the borders then falling through to a WM_NCPAINT handler, which should return 0. My mistake.
|
|
|
|
|
Hi all,
I have some difficulties in automating the excel application using MFC. My project is to get the input from the user and according to that input i mus draw chart in excel. presently i can able to connect with excel. But my problem is that i dont know how to create a line chart and dont know how to define the x and y axes. I am using VC++ 6.0.
Can anyone please help me in this regards?
Thanks in advance.
Regards,
Ram
|
|
|
|
|
Ram Murali wrote: But my problem is that i dont know how to create a line chart and dont know how to define the x and y axes.
Are you using any of the following classes:
ChartObject
ChartObjects
_Chart
Charts
"Approved Workmen Are Not Ashamed" - 2 Timothy 2:15
"Judge not by the eye but by the heart." - Native American Proverb
|
|
|
|
|
Hi,
I am writing an application where I convert the set of images to .avi file. I am using use XviD MPEG4 codec as a default codec. I set this as default codec to “xvid”. Now my AVIStreamSetFormat function displays a dialog box with title "XviD Status". How can I avoid this dialog box?
Regards,
Hemant Kulkarni.
|
|
|
|
|
There's an option in the XviD Configuration dialog to turn it off.
Also, try this registry entry
HKCU\Software\GNU\XviD\display_status
Set it to 0.
(found this on google, don't know if it's right )
|
|
|
|
|
Hi All,
I am new this VC++ Programming. Can one say that how to create a shared memory so that all process can access that memory?.
or let me know that where can i see shared memory programming articles?.
Thanks in Advance...
|
|
|
|