|
how can i attach events with toolbar controls in SDI application?
|
|
|
|
|
|
solved the problem thanks
|
|
|
|
|
The toolbar sends the WM_COMMAND[^] which is the same as that for menus and accelerators.
Look at the last row of the table in the remarks section of the documentation.
The low word of wParam contains the ID of the toolbar and the high word contains the notification code like BN_CLICKED.
«_Superman_»
I love work. It gives me something to do between weekends.
|
|
|
|
|
|
Hi All
I am able to connect mysql through ODBC.But i want to know there is any method to connect Mysql without Odbc?
Plz help me
|
|
|
|
|
Here's[^] the list of connectors that are provided with MySQL - there's a C++ one...
Java, Basic, who cares - it's all a bunch of tree-hugging hippy cr*p
|
|
|
|
|
Hi,
I have seen a simple program which opens a browser, loads a login page and auto populate username and password... so it was like using DOM of a newly opened window from windows program. can i have the name of the topic under where DOM is covered in win32 or if i could get links to other resources regarding this then that will be nice...
Today's Beautiful Moments are
Tomorrow's Beautiful Memories
|
|
|
|
|
You could either start at MSHTML Reference[^] or by looking at the IHTMLDocument2[^] interface.
«_Superman_»
I love work. It gives me something to do between weekends.
|
|
|
|
|
Let me redefine my question.
I want to access any windows input elements from a win32 or mfc program.
i want to open browser from a win32 program and want to manipulate the contents...
this is my idea and i want to know which of the concepts does this work either in win32 or in mfc.
Today's Beautiful Moments are
Tomorrow's Beautiful Memories
|
|
|
|
|
How to create context menu, that shows up when right mouse button was clicked on a file in Windows Explorer? It is important to do this using native Win32, without MFC, WTL, Afx or CLR.
|
|
|
|
|
shasa2009 wrote: How to create context menu, that shows up when right mouse button was clicked on a file in Windows Explorer
Explorer already creates a context menu when you right click on a file or folder. If you want to extend or interact with the context menu then you should read the article by Michael Dunn. It contains everything you need to know regarding shell extensions.
The Complete Idiot's Guide to Writing Shell Extensions - Index[^]
Best Wishes,
-David Delaune
|
|
|
|
|
I need to display explorer context menu in my program. I do not need to extend or modify it. "The Complete Idiot's Guide to Writing Shell Extensions" it is all about how to extend or modify, but i do not need it.
BOOL showContextMenu (HWND hWnd, TCHAR* fullPart)
{
return TRUE;
}
|
|
|
|
|
shasa2009 wrote: I need to display explorer context menu in my program. I do not need to extend or modify it.
Ok I am sorry but I dont understand your question. Your original question asked how to create a popup context menu[^] when you right click a file in windows explorer[^]?
Best Wishes,
-David Delaune
|
|
|
|
|
|
hello, i want to build a chat engine using MFC c++. what classes of MFC i need can anyone tell me? and i need using procedure of these classes. plz tell me detail about procedure of building chat engine.i want to use MFC classes.
plz help me.
|
|
|
|
|
What is a 'chat engine'? Could you elaborate on your requirements or technical problems?
/M
|
|
|
|
|
its a web chat engine like yahoo messengers.i dont need clone of messenger. only need to transfer a string and receive a string between two people.i want to use c++ MFC. now list me plz needed c++ MFC classes/functions to build it.plz tell me detail how i have to go ahead.tell me step by step to build this web chat engine.
|
|
|
|
|
|
I am looking for an example of code for getting video "capture" from camera to AVI file using AVI stream in plain C++. I need to use the camera data as document (file) in MFC.
There is plenty of sample code (and applications) in here but they all either use C# ,framework library or just read from AVI file.
Thanks for reading Vaclav
|
|
|
|
|
|
Thanks, it does help somewhat. It seems to be just a wrapper for AVI API.
And unless I missed something - it does "takes" the data from a AVI file.
What I am looking for is data coming from video camera. I got it working using capture frames but it does not "fit" into document / view architecture. It needs a capture window and by definition a document does not have a window attached.
I hope I am not totally wrong but how do you tell the stream AVI which device to read from – I’ll need few cameras to accomplish my task.
Thanks for your help.
Cheers Vaclav
|
|
|
|
|
hmm... i think you'll need DirectX, then.
|
|
|
|
|
I believe the DirectX AMCap sample is what you need.
Download and install the latest Windows SDK from Windows SDK for Windows Server 2008 and .NET Framework 3.5[^]
You will find the AMCap sample at the location C:\Program Files\Microsoft SDKs\Windows\v6.1\Samples\Multimedia\DirectShow\Capture for the default installation path.
«_Superman_»
I love work. It gives me something to do between weekends.
|
|
|
|
|
OK, I am downloading it now. Four hours estimate... good night..
Hopefully I can use it on WIndows 2000. .NET won't load on it, but I do not want .net just the sample code.
Thanks Vaclav
|
|
|
|