|
How do I get the icon from a running process?
I already have the Process ID, the hwnd, and the hinstance of the runnig program, and I want to get the icon of that process and display it in a list control and in a dialog tab.
I could get the executable filename too, but I'd like to avoid that if possible.
Many thanks in advance.
|
|
|
|
|
Does anyone know where I can find a tutorial or book for Adobe Premiere SDK? I looked at the documentation by Adobe and it seems a little bit on the high-level. Specifically, I want to know how to make plug-ins.
-- Frank
|
|
|
|
|
Can someone help me? I need to set my Dialog Box to a certain size on initialization, so that it will be proportionate to the computer screen it is ran on? Right now it opens at different sizes on different computers. Is it a resolution problem, or do I need to check Desktop window size during initialization? I would appriciate any info. Thank You
|
|
|
|
|
It's not a problem at all, dialogs have a fixed size. It "looks smaller" on 1280x1024 than 800x600 because there's more screen there.
To change the dlg size, call CWnd::SetWindowPos() at the end of your OnInitDialog() . But you'll need to resize/reposition all your controls as well, or the dlg will look fugly.
|
|
|
|
|
Maybe, it's better to create more than one dialog if the size is important. At run time you can check screen resolution and use the proper one.
|
|
|
|
|
How do I adjust the size of the MainFrame?
And, after that, how do I set it to be fixed?
Thanks
|
|
|
|
|
This sort-of kind-of does it... I put this code in at the end of InitInstance, after the window has been shown.
Might need a little fine tuning...
RECT rect = {100,100,500,500};
pMainFrame->MoveWindow(&rect,TRUE);
pMainFrame->ModifyStyle(WS_THICKFRAME,0);
You can call ModifyStyle with WS_MAXIMIZEBOX as well, if you want to prevent maximizing the window.
|
|
|
|
|
I am using Visual C++ version 6.0. I receive this error when I try to execute my application on a system without Visual C++.
This was a problem in previous versions of VC++. I checked the file that contained the error (daocore.cpp) and it appears that the fix is installed in version 6.0.
Any ideas/suggestions will be appreciated.
Rick
|
|
|
|
|
Hi any one is there who knows how to develop Window Explorer control that means simulating a Windows Explorer with all operation like Explorer including folder,file view and cut,copy paste and context menus.
If any one know how to do this pl tell me,if u know any material/books/articles regarding this u pl let me know.
thanx
Sreenivasulu.G
|
|
|
|
|
|
Hi,
I want to replace the default MFC icon in the Application's title bar as well as in the Explorer.
I have repainted the IDR_MAINFRAME icon using the resource editor but even after doing this and after rebuilding all the files, the application still shows the default MFC icon.
Why is this so and what should I do to display a new icon?
Thanks in advance,
Dipalee
|
|
|
|
|
Windows uses the first icon it finds in the resource. The AppStudio places the icon with the lowest resource number first. IDR_MAINFRAME is usually the lowest number, so you should replace the IDR_MAINFRAME icon with the icon you want to use, or create a new icon that has a lower resource ID number than IDR_MAINFRAME.
|
|
|
|
|
I have a dialog-based application. I would like to have an icon displayed in the task bar, on the right edge near the clock, when user boots up the windows operating system. So when user moves mouse over the icon, some explanatory words will be displayed; or when user left-click the icon, the program will be executed. Is this possible? If it is, how? Please help. Sample codes would be most appreciated. Thank you.
|
|
|
|
|
Anyone have the scelleton-code for a Windows 2000 driver? Need some info about how to write one. I am going to use the 8254 Timer Chip, etc.
Any help would be much appreciated!
|
|
|
|
|
Why do you need to use this chip directly? Chances are, Windows is already making use of it, and trying to modify it directly with a driver could cause Windows to become unstable.
What's wrong with using Multimedia timers?
|
|
|
|
|
Because I have been given the task of doing so .. I need to access the chip directly, or at least by using some Win32 API calls .. hmm, my problem is how.
Thanks for answering btw ..
- Bjorn
|
|
|
|
|
Hi,
I have a MFC application that uses Microsoft Access tables.
The result of my program writes data into a Access database so at the end, I have a Table with the results.
I would like to know: How can I allow the user to save that RESULT TABLE where they SPECIFY the name of the table and the location of where to save it?
If anyone has any ideas, Please let me know.
Thanks in Advance
Steve
|
|
|
|
|
Hi Everyone,
How do I display the data in a Microsoft Access Table with an MFC application?
Can I call up a table from Access for display directly?
If anyone knows, Please let me know.
Thanks in Advance!
Steve
|
|
|
|
|
Hi,
I'm coding an add-in in VC 6. Is there a way to create a
dialog bar that will dock VC? I've looked in a lot of interfaces and stuff, but haven't really found anything.
Any help?
Thanks.
|
|
|
|
|
|
There is an article on this site called Undocument VC++ or something similar that describes some of the issues you're trying to deal with.
It's not easy, and it's a major hack.
|
|
|
|
|
hi does anyone has a sample code on screen capture which is a procedure which captures the screen of any active running window. Thanks for helping
|
|
|
|
|
hi does anyone has a sample code on screen capture which is a procedure which captures the screen of any active running window. Thanks for helping
|
|
|
|
|
http://support.microsoft.com/support/kb/articles/Q186/7/36.ASP
|
|
|
|
|
Hello,
I'm new to VC++ and struggling with doing something that should be fairly simple.
I have two projects in my workspace, proj1 and proj2. Proj2 has UNICODE and non-Unicode builds, and
debug and release versions of both. Proj1 only has Debug and Release.
What I want to do is say, when building proj2 UNICODE Debug, make sure that proj1 *Debug* is built.
VC++ isn't letting me do this. It always builds the Release version of proj1, no matter what. How do I
tell it what configuration to depend on?
Thanks,
Alex
|
|
|
|