|
Hay
reading a lot about shell extentions, i still didn't find a way to extend Explorer by "catching" file selection (LEFT click on a file ) and do something in response to it.
any ideas how to do it?
(ho, and FileManager Extentions are only for Win3.11 ?)
|
|
|
|
|
How can I turn the MFC Doc/View Window into a Dialog style window so only the X is there instead of, Minimize, Maximize, and Close(X)?
|
|
|
|
|
It's amongst the properties in the dialog editor.
Christian
Secrets of a happy marriage #27:
Never go to bed if you are mad at each other. It's more fun to stay up and fight.
|
|
|
|
|
Override CWnd::PreCreateWindow() thus:
BOOL CMainFrame::PreCreateWindow(CREATESTRUCT& cs)
{
cs.style &= ~(WS_MAXIMIZEBOX | WS_MINIMIZEBOX);
return CFrameWnd::PreCreateWindow(cs);
}
--Mike--
http://home.inreach.com/mdunn/
A recent survey reports that 1/4 of all internet users in England surf for porn.
The other 3/4 just didn't want to admit it.
|
|
|
|
|
Please I need help!
-JOURNEYMAN-
|
|
|
|
|
You sure need help. You probably mean you want to use DirectDraw to animate objects onto a display, but unless you're more specific, it's kind of hard to know.
Christian
Secrets of a happy marriage #27:
Never go to bed if you are mad at each other. It's more fun to stay up and fight.
|
|
|
|
|
|
Hi
Can anyone tell me what would cause the following error:
"Microsoft Visual Runtime Library - Runtime Error - Program d:myprog.exe - abnormal program termination"
The error is occuring in a released product developed using Visual C++/MFC, on some users Microsoft Windows 2000.
So far I've tested on MS Win 2000 and MS Win 2000 Service Pack 1.
It would help if I new why this error was occuring and how to fix it.
Cheers
Keith Avery
KA Technology
|
|
|
|
|
Sounds like you either
a/ needed to debug a bit more or
b/ don't have something installed you are depending on, like MDAC.
Can you duplicate the problem on a development machine ? If not, run depends to find out what you need, and figure out what you're missing.
Christian
Secrets of a happy marriage #27:
Never go to bed if you are mad at each other. It's more fun to stay up and fight.
|
|
|
|
|
I agree I need to debug the problem a bit more.
It's all very frustrating as the product version was launched over a year ago, and only now are some Win2000 users getting problems.
I haven't been able to duplicate the problem yet with a clean installation of Win 2000.
|
|
|
|
|
I'm ok with buttons when programming Dialog stuff, but when it come to Doc/View structure program, I'm stuck...
Please help me code the buttons below...
A minimize button, and close button...
Thanks for any help...
|
|
|
|
|
Presuming that you're trying to get CButton type controls on a CView based window...
.... you should probably use CFormView for your view class.
|
|
|
|
|
I'm trying to select a row in my CListCtrl at runtime, but I just can't get it to work.
this->m_myList.SetSelectionMark(0);
int test = this->m_myList.GetSelectionMark();
It seems like the selection is successful, since 'test' always becomes 0. But the row is not being selected! What am I doing wrong here...
Sprudling
|
|
|
|
|
>>> From MSDN >>>
The selection mark is the item index from which a multiple selection starts
<<<
To select an item, you should use the SetItemState() member.
wndMyListCtrl.SetItemState ( 0, LVIS_FOCUSED | LVIS_SELECTED );
BTW: there is no need to prefix you statements with this->, it is assumed.
Ben Burnett
---------
On the topic of code with no error handling -- It's not poor coding, it's "optimistic"
|
|
|
|
|
I want to create setup an install files of my program to a customer with the installShield software .
Who can guide me shortly how to do it.
|
|
|
|
|
There is a tutorial in : http://www.cs.duke.edu/~jjw2/installshield.html
|
|
|
|
|
I need to know how to delete only the first integer from a file ?
Who can help me ???
|
|
|
|
|
Read the entire file into a buffer, then write it back minus the first part.
Ben Burnett
---------
On the topic of code with no error handling -- It's not poor coding, it's "optimistic"
|
|
|
|
|
Hi
how can I program an addin for the Internet Explorer.
I want to insert a button to the IE-toolbat to execute some code.
e.g. the download-manager "FlashGet" inserts a button to the toolbar.
how can I achieve this?
thanks
|
|
|
|
|
There are three types of extensions you can add to Internet Explorer: Explorer Bars (like the Search, History, and Favorites frame on the left side of an IE window), Tool Bands (Tool bars at the top of the window), and Desk Bands (A Tool Band docked to the desktop).
There is an article in MSDN that describes all of the COM interfaces and registry entries that you will need to use to implement your own.
If you have the MSDN Library on your hard drive, the folder path is: Platform SDK -> User Interface Services -> Windows Shell -> Shell Programmers Guide -> Advanced Shell Techniques -> Creating Custom Explorer Bars, Tool Bands, and Desk Bands.
For the on-line MSDN library, the URL is:
http://msdn.microsoft.com/library/en-us/shellcc/platform/Shell/Bands.asp
--
Paul
"I drank... WHAT?"
|
|
|
|
|
Hi,
Anyone can say me if the CHAR function for translate a ASCII to a Character in VC++ exist or I must to create a function that convert it.
Best regards
youssef
|
|
|
|
|
you don't need any special function, in C.
char a = 'A'; is the same thing as
char a = 65;
-c
------------------------------
Smaller Animals Software, Inc.
http://www.smalleranimals.com
|
|
|
|
|
How can I convert a BMP to a TIF and visra versa
|
|
|
|
|
By using GDI+ or Paintlib ( I forget the URL but it's in the FAQ )
Christian
Secrets of a happy marriage #27:
Never go to bed if you are mad at each other. It's more fun to stay up and fight.
|
|
|
|
|
Wow! Christian, are you saying that GDI+ actually handles the tiff format? No more third party imaging libraries!!???? I have not looked at it yet, but Maybe I should!
|
|
|
|