Yeah, as it usually happens we don't have any time left for our page because of the work we have to do for our clients. :) ----- We are what we repeatedly do. Excellence, then, is not an act, but a habit.
Florin Ochiana
Posts
-
Registering dll after install -
Registering dll after installHi, Thank you for your answer. I am using the Visual Studio Installer which comes with Visual Studio 7.0. Thanks again ----- We are what we repeatedly do. Excellence, then, is not an act, but a habit.
-
Registering dll after installHi, I made a toolbar for Internet Explorer. When I'm testing it on my computer I register it with regsvr32 toolbar.dll. I made an installer for the toolbar. I don't know how to register the dll after the installation, something like regsvr32. I didn't found anything on msdn. Do you have any ideea? Thanks ----- We are what we repeatedly do. Excellence, then, is not an act, but a habit.
-
Windows idle timeThanks for your time. Regards, ----- We are what we repeatedly do. Excellence, then, is not an act, but a habit.
-
Windows idle timeI don't want the idle time in my app. In windows in general. I thought OnIdle is called when the application is idle. ----- We are what we repeatedly do. Excellence, then, is not an act, but a habit.
-
Windows idle timeHi, I want to do something in my app when the user doesn't do anything for a period of time (doesn't move the mouse and doesn't touch any key on the keyboard). MSN Messenger, for example, makes you idle when you are inactive. I want to lock some sections of my app. How can I test this from my app? How can I get the windows idle time? Thanks ----- We are what we repeatedly do. Excellence, then, is not an act, but a habit.
-
mpeg streamerHi, I want to build a module in my app that will alow me to stream the video from my webcam. Anybody knows any open source app or any article on this matter? I don't know how to start. Thanks ----- We are what we repeatedly do. Excellence, then, is not an act, but a habit.
-
How to use CheckMenuItem()????????I told you that m_MainMenu is your menu. You will have to replace it with your variable. If it's the apps menu then you have to do something like this m_MainMenu = GetMenu(); ----- We are what we repeatedly do. Excellence, then, is not an act, but a habit.
-
How to use CheckMenuItem()????????You have to have a function that would execute the code when the users selects the menu item. Let's say it's ON_COMMAND(ID_YOURMENUITEM, TestFn) Maybe you want to use a global variable that will tell you the state of that item. bool testVar; void TestFn() { CMenu *m_MainMenu; // let's say you have your menu in m_MainMenu if (testVar) { testVar = false; m_MainMenu->GetSubMenu(1)->GetSubMenu(x)->CheckMenuItem(n, MF_BYPOSITION | MF_UNCHECKED); } else { testVar = true; m_MainMenu->GetSubMenu(1)->GetSubMenu(x)->CheckMenuItem(n, MF_BYPOSITION | MF_CHECKED); } } where n is the position of your item in the menu ----- We are what we repeatedly do. Excellence, then, is not an act, but a habit.
-
URL opens applicationHi, I want to put in a site links that would start my application. Something like yahoo has in the profile pages: ymsgr:sendIM?yahoouser I know how to make a handle that will send the call to my app using something like myapp:command?parameter but what do I have to do in my app to catch that command and get the parameter? Thanks ----- We are what we repeatedly do. Excellence, then, is not an act, but a habit.
-
Step by step tooltips implementation using Visual C++ and mfcDid you read this article? http://www.codeproject.com/miscctrl/pptooltip.asp?target=tooltip ----- We are what we repeatedly do. Excellence, then, is not an act, but a habit.
-
Plugin FrameworksHow about this one? http://www.codeproject.com/dll/plugin.asp?target=plugin ----- We are what we repeatedly do. Excellence, then, is not an act, but a habit.
-
PropertyPage TitleHow can I change the title of the PropertyPage in a propertysheet. I mean the name of the tab. I tried with SetWindowText() but it doesn't work. Thanks ----- We are what we repeatedly do. Excellence, then, is not an act, but a habit.
-
Installing MFC DllHi, I have a program that uses MFC. I made an install project for my program and I installed it on another computer. When I tryed to run my program it said that it needed MFC70D.dll. After I copied this file in the program dir the error message said the program needed MSVCP70D.dll and after this it was MSVCR70.dll. I added this files to the instalation program. But now when I try to install on the other computer there is an warning in the installation process: "Module C:\...\MFC70D.DLL failed to register. HRESULT -2137024769. Contact your support personnel." (Exit instalation / Try again / Continue) If I hit Continue all works fine. Why is this? What is the proper way to also install this files needed by my program? Thanks ----- We are what we repeatedly do. Excellence, then, is not an act, but a habit.
-
How to move a CToolBar?Hi, I have a dialog in which I have a toolbar in the middle of the dialog window. I put the toolbar there with a m_wndMiddleButtons.SetWindowPlacement(&wpl) in OnInitDialog. m_wndMiddleButtons is a CToolBar and wpl is a WINDOWPLACEMENT structure. I have to move this toolbar in the OnSize method of my dialog, but when I can (from OnSize) m_wndMiddleButtons.SetWindowPlacement(&wpl) my app crashes. I can't call any method of m_wndMiddleButtons without a crash. Anybody nows a method for solving this problem? Thanks. ----- We are what we repeatedly do. Excellence, then, is not an act, but a habit.
-
Activating / Deactivating menus and toolbarsHi, I have a program in which I have to activate / deactivate different menu options in different stages of the program. How can I do this? I also have to activate / deactivate a toolbar. I've managed to do this at startup by chaging the commands id's with SetButtonInfo. When I want to activate I use again SetButtonInfo to associate the right commands to the buttons and then the toolbar becomes active. If I try to change again the commands ids the toolbar doesn't deactivates again. ----- We are what we repeatedly do. Excellence, then, is not an act, but a habit.
-
How to access mysql database using CYou can access mysql through ODBC and you wont need the mysql.h file. You find the mysql odbc in the mysql site. Install it on your windows machine and then make a connector in the windows odbc. Then you connect to the linux mysql from you program through the odbc connector. ----- We are what we repeatedly do. Excellence, then, is not an act, but a habit.
-
Network interfaceHi, Usually when the computer is not connected to the net the interface in My Network Places appears Disconnected ("Network cable unplugged"). Is there a way to tweak the registry to bring up the interface without being connected to the net? The reason I want to do this is because I have on my computer a win xp and linux. I run linux in VMWare. In linux I have a server and on windows the application that has to connect to the server. Thanks ----- We are what we repeatedly do. Excellence, then, is not an act, but a habit.
-
B, I, UHi, A very simple problem yet I didn't find the solution. How can I make some buttons of the toolbar to remain pressed after the first click and came back up at the second click? Like the B (bold), I (italic) and U (underline) in Outlook, Word, etc. Thanks ----- We are what we repeatedly do. Excellence, then, is not an act, but a habit.
-
Toolbars and DialogsThank you ----- We are what we repeatedly do. Excellence, then, is not an act, but a habit.