|
| Have you merged the .PBO file yet? Perhaps doing a 'prep /M filename' will fix it. Otherwise I don't know... /moliate | Sign In·View Thread | | | |
|
| Hi, I think there is some kind of limit to the number of characters that can be displayed in a status bar. It seems to be 127 characters. I was wondering if there was any way of increasing this? It doesn't matter how wide I make the status bar, the text is always cut off at that limit!! Really frustrating. Thanks in advance (by the way, I know it's not my string variable that's cut off, 'cause I checked) Mandy | Sign In·View Thread | | | |
|
| From the MSDN docs for SB_SETTEXT: "The text for each part is limited to 127 characters." You may try to host a static control as a statusbar child. Tomasz Sowinski -- http://www.shooltz.com - It's for protection - Protection from what? Zee Germans? | Sign In·View Thread | | | |
|
| I have a dialog based app and I create a new dialog in the resource editor. In the main dialog. I put a button that will show the new created dialog, like this: CTheDialogDlg dlg; dlg.DoModal(); But now I want to press some more buttons on the main dialog or edit some edit controls... But it's not allowed... Hot make it possible!? I've tried making it WS_CHILD and try making the parent window to be the desktop window instead of the main window. but it doesn't work... HELP! ------------------------------------ Rickard Andersson , Suza Computing ICQ#: 50302279 I'm from the winter country SWEDEN! ------------------------------------ | Sign In·View Thread | | | |
|
| Your problem is that you are showing the dialog as as a modal dialog box. Modal dialog boxes require the focus until they are explicitly closed, a MEssageBox is another type of modal dialog box. What you want is a modeless dialog box. You can make it appear by calling the Create method of you dialog rather than the DoModal method. When you want the dialog to disappear you can call ShowWindow to hide it, or you can detstroy the dialog when you no longer need it. | Sign In·View Thread | | | |
|
| You need to use CTheDialogDlg as modeless. When you call dlg.DoModal, main dialog becomes disabled until secondary dialog is closed. Tomasz Sowinski -- http://www.shooltz.com - It's for protection - Protection from what? Zee Germans? | Sign In·View Thread | | | |
|
| DoModal creates a modal dialog, this gives the dialog control until it is closed. You'll need to create a modeless dialog using the Create method and ShowWindow. Have a search on MSDN for Modeless dialogs there will be lots of examples. Michael | Sign In·View Thread | | | |
|
| I'm writting a COM plug-in for a service. I'm able to register and unregister the dll with the service. Even after i unregister the dll I still get that error because the file is still in use. When I check with the service it reports that its not using my dll. I thought that the COM library knew when nothing was using a component and would release it. I'm adding features and debugging my dll so I have to compile it often. I don't want to reboot my computer each time I want to comple the component. Is there a way to manually release this dll? | Sign In·View Thread | | | |
|
| Is it a COM+ app ? It could be getting pooled and need stopping in COM+ Christian The tragedy of cyberspace - that so much can travel so far, and yet mean so little. "I'm somewhat suspicious of STL though. My (test,experimental) program worked first time. Whats that all about??!?! - Jon Hulatt, 22/3/2002 | Sign In·View Thread | | | |
|
| Did you find a solution to this? I'm facing a similar problem working on creating ShellExtensions. Thanks! | Sign In·View Thread | | | |
|
| Happened to me as well. Attached the shell extension dll to SearchFilterHost.exe for debugging purpose, after the debugging finished I need to rebuild the dll but encountered the problem abovementioned. Solution is to stop SearchFilterHost.exe in task manager afterwards. | Sign In·View Thread | | | |
|
| Does anyone know of a method to return a list of files that a current executable is using? I will be doing this in C# but would like to get some input from anyone. Thanks in advance. Nick Parker | Sign In·View Thread | | | |
|
| What do you mean by 'associated files'? File extensions associated with an application? Or files open by the app in given moment? PS: it's forbidden to use words like 'C#' in this forum Tomasz Sowinski -- http://www.shooltz.com - It's for protection - Protection from what? Zee Germans? | Sign In·View Thread | | | |
|
| Tomasz Sowinski wrote: What do you mean by 'associated files'? Any supporting files the executable requires to run. Tomasz Sowinski wrote: PS: it's forbidden to use words like 'C#' in this forum In the big picture were all in the same boat aren't we. Nick Parker | Sign In·View Thread | | | |
|
| Nick Parker wrote: In the big picture were all in the same boat aren't we. In this particular case, no If you have unmanaged .exe - like the ones produced by VC6 - you can use depends.exe to check which .dlls program is explicitly linked to. However, program may load any .dlls at runtime with LoadLibrary and link to their functions with GetProcAddress. Managed assemblies created by C# are totally different story. Tomasz Sowinski -- http://www.shooltz.com - It's for protection - Protection from what? Zee Germans? | Sign In·View Thread | | | |
|
| Tomasz Sowinski wrote: In this particular case, no I guess I was looking at the Bigger picture, not just the application that I am going to be working on. I understand there are many million different ways to do things, especially when different languages are feasible for an operation, I guess it was more of a philosophical statement really. Nick Parker | Sign In·View Thread | | | |
|
| You need to use the depends utility. Is under Visual Studio Tools menu.... Best Regards Carlos Antollini. Sonork ID 100.10529 cantollini | Sign In·View Thread | | | |
|
| I noticed that when you make a new submenu for any of the menus, you can add a function for COMMAND or UPDATE_COMMAND_UI What do these two things mean? | Sign In·View Thread | | | |
|
| COMMAND handler is called when user clicks on the menu item - you put the real work there. UPDATE_COMMAND_UI is called in response to WM_INITMENUPOPUP, just before displaying the menu. It gives you the opportunity to enable/disable/check/change the text of menu item. If your menu item is always enabled, you don't need UPDATE_COMMAND_UI. Tomasz Sowinski -- http://www.shooltz.com - It's for protection - Protection from what? Zee Germans? | Sign In·View Thread | | | |
|
| Not sure if I've understood what your saying properly, but ON_COMMAND is where you tell your class what to do upon receiving that command message and ON_UPDATE_COMMAND is where you tell your class what to do when that menu needs to be updated (in your AFX_MSG_MAP part of your message map) E.g.: <br /> ON_COMMAND(ID_OPTIONS_FONT, OnOptionsFont)<br /> ON_UPDATE_COMMAND_UI(ID_OPTIONS_FONT, OnUpdateOptionsFont) Heres the MSDN info: ON_COMMAND, ON_UPDATE_COMMAND_UI Dylan Kenneally London,UK | Sign In·View Thread | | | |
|
|
|
| Hi, Sorry about very stupid question. How to show non modal dialog using MS VC++ 6.0. Tranks, Stefan | Sign In·View Thread | | | |
|
| After CDialog::Create , call ShowWindow(SW_SHOW) . Joaquín M López Muñoz Telefónica, Investigación y Desarrollo | Sign In·View Thread | | | |
|
| Thanks, this is exactly what I do. The problem is that modeless dialog stays always over its parent dialog, even when it is not focused. How to prevent this behaviour. Thanks again Stefan | Sign In·View Thread | | | |
|
| To the best of my knowledge, you can't. This is standard behavior. /ravi "There is always one more bug..." http://www.ravib.com ravib@ravib.com | Sign In·View Thread | | | |
0 Response to "C++ Cannot Open For Writing"
Post a Comment