MSGROUPS.NET | Post Question | About | Groups | Contact | Register | Login



microsoft public excel misc (9093)

microsoft public outlook general (7339)

microsoft public excel programming (6569)

microsoft public word docmanagement (5607)

microsoft public excel worksheet functions (5040)

microsoft public access (4768)

microsoft public windowsxp general (3874)

microsoft public windows vista mail (2957)

microsoft public windows vista general (2783)

microsoft public windows live mail desktop (2699)

microsoft public office misc (2268)

microsoft public access queries (2122)

microsoft public powerpoint (2030)

microsoft public greatplains (1998)

microsoft public windows server sbs (1972)

microsoft public dotnet languages csharp (1964)

microsoft public access formscoding (1932)

microsoft public mac office entourage (1868)

microsoft public sqlserver programming (1861)

microsoft public access forms (1798)

microsoft public internetexplorer general (1706)

microsoft public mac office word (1699)

microsoft public access modulesdaovba (1691)

microsoft public outlook calendaring (1436)

microsoft public dotnet framework aspnet (1375)

microsoft public project server (1356)

microsoft public windowsupdate (1353)

microsoft public sqlserver server (1332)

microsoft public project (1285)

microsoft public excel (1277)

microsoft public access reports (1249)

microsoft public windowsxp help and support (1204)

microsoft public exchange admin (1185)

microsoft public windowsmedia player (1165)

microsoft public mac office excel (1160)

microsoft public windows server general (1100)

microsoft public dataprotectionmanager (1096)

microsoft public outlook (1035)

microsoft public word vba general (1029)

microsoft public vb general discussion (1001)

microsoft public outlook contacts (953)

microsoft public windows server active directory (930)

microsoft public development device drivers (911)

microsoft public dotnet languages vb (843)

microsoft public outlook installation (820)

microsoft public word newusers (808)

microsoft public word pagelayout (783)

microsoft public windowsce platbuilder (757)

microsoft public excel charting (733)

microsoft public publisher (728)

microsoft public excel newusers (711)

microsoft public windows powershell (697)

microsoft public pos (658)

microsoft public vc mfc (651)

microsoft public access gettingstarted (630)

microsoft public word application errors (629)

microsoft public sharepoint general (604)

microsoft public office setup (584)

microsoft public onenote (556)

microsoft public sqlserver reportingsvcs (550)

microsoft public outlookexpress general (539)

microsoft public frontpage client (532)

microsoft public access tablesdbdesign (529)

microsoft public scripting vbscript (528)

microsoft public windows 64bit general (513)

microsoft public outlook program vba (502)

microsoft public windows live messenger (434)

microsoft public windowsxp hardware (416)

microsoft public money (397)

microsoft public windowsxp basics (367)

microsoft public dotnet general (316)

microsoft public windows mediacenter (300)

microsoft public windows inetexplorer ie6 outlookexpress (276)

microsoft public mac office (272)

microsoft public win98 gen discussion (243)

microsoft public sharepoint setup and administration (225)

microsoft public windows vista hardware devices (183)

microsoft public windows vista music pictures video (178)

microsoft public nntp test (163)

microsoft public windows vista performance maintenance (148)

microsoft public dotnet framework (148)

microsoft public visio (128)

microsoft public access 3rdpartyusrgrp (68)

microsoft public access conversion (64)

microsoft public dotnet xml (58)

microsoft public pt windowsxp (38)

microsoft public access developers toolkitode (34)

microsoft public windows live photogallery (32)

microsoft public dotnet faqs (19)

microsoft public dotnet framework aspnet datagridcontrol (16)


microsoft.public.vc.mfc Post New
Items(645) /13 Next >> Last >|
Subject Posted Replies From
Synchronization of multiple MFC processes?

I'm having difficulty devising a correct synchronization scheme for the following. There are four processes, each a dialog-based MFC app, written in C++, built with VS2005. Call these processes Master, A, B and C. The synchronization issues are these: 1) When any of the 4 processes is started, it must detect whether another instance is already running. Normally this is done using a global mutex, but that solution will not work unless the O/S guarantees to run the app long enough to create the mutex. The critical case is when two instances are started almost at the same time.

7/2/2010 9:42:08 PM 1 Woody <ols6...@sbcglobal.net>
Testing ....

Is the MS server for this group gone now? -- Opportunity is missed by most people because it is dressed in overalls and looks like work Thomas Edison

7/2/2010 2:45:37 PM 5 BobF <notha...@nospam.yum>
Exception Logistics

Would appreciate input on the following: Prelude, (keep in mine I understand that for MFC I need to use or at least wrap all exception handling in a MFC derivation, and use new (not Referenced& or copies). However in an effort to learn such a diverse subject as exceptions I have need of input on the following) " If " I have understood all that I have read on exceptions, then with Visual C++5 on, compiling with /GX or /EHs, and enables the compiler's synchronous exception model for C++ exception handling (/GX for mfc apps). And that this would not (if you did not compile with no

7/2/2010 2:15:05 PM 6 "RB" <NoM...@NoSpam>
Show More / Show Less Dialog

I would like to create a dialog that you see sometimes where there is a button at the bottom that says something like "Show More" or "Show Less". My first stab at this would be to create a full-size dialog and then shrink or expand the size of the dialog in response to that button in order to hide or show the controls - possibly making the controls invisible first. Is this how you would do it, or is there a better way that I haven't thought of? Thank you, Jim

7/1/2010 8:44:35 PM 1 =?Utf-8?B?SlJHbGlkZQ==?= <JRGl...@discussions.microsoft.com>
read contents of msg file from IStorage

I'm getting a msg file as result from a DragDrop operation as IStorage object. I would like to extract the msg file itself as binary as well as all attachments, the subject of the mail, the recipients ... Now, when "parsing" the IStorage object, I get roughly 40 IStream objects. How can I find out, what these stream objects are for? Do I have to open each stream and to interpret the content or is there a naming convention? Most important would be to get the msg file as binary. Thanks and regards, Thomas

7/1/2010 6:51:21 PM 0 =?Utf-8?B?bWlsb25hc3M=?= <milon...@discussions.microsoft.com>
googlegroups ion free today your masswage click me $100 win .................................

http;//www.123maza.com/elaxa/dna

7/1/2010 9:35:13 AM 0 raj <rajbanirajb...@gmail.com>
How to suppress Microsoft ODBC for Oracle error message

Hello. There is an error message displayed when Oracle Client isn't present: "Oracle(tm) client and networking components were not found. These components are supplied by Oracle Corporation and are part of the Oracle Version 7.3 (or greater) client software installation. You will be unable to use this driver until these components have been installed." Is there any way to suppress this message because I want to handle this situation on my own. An exception is caught so only reported error is redundant. Thanks for any help.

7/1/2010 8:24:42 AM 0 =?Utf-8?B?SXZhbg==?= <I...@discussions.microsoft.com>
Simple hack to get $500 to your home.

Simple hack to get $500 to your home at http://uptadesonly.co.cc Due to high security risks,i have hidden the cheque link in an image. in that website on left side Above search box, click on image and enter your name and address where you want to receive your cheque. please don't tell to anyone.

6/30/2010 5:28:24 PM 0 KAJOL <indocricke...@gmail.com>
OnSetActive not called

Hello NG, I have an MDI app. The view has a property page. There I have OnSetActive that calls a function "FillEditCtrl" to showsvalues in an edit control. I call a menu that opens a dialog. The user can edit values that are shown in the edit control of the property page of the view. The user closes the dialog. But OnSetActive of my property page is not called, so the values are not shown in my view. After closing the dialog, what afx msg is called instead? void CMainFrame::OnMenuEditValues() { CWnd* pw = GetActiveWindow(); CTheDialog dlg; dlg.DoModal(); pw-

6/30/2010 3:32:56 PM 1 "Guido Franzke" <guido...@yahoo.de>
cedit control: size of image

Hi, how is it possible to get the rectangle of an cedit control item in the OnPaint() method to draw the image for this cedit control only in the size of the cedit control? At the moment CSize is the size of the bitmap but not of the cedit control in the DrawIndirect() method... void CImageEdit::OnPaint() { CDC *pDC = GetDC(); pDC->SetBkColor(TRANSPARENT); if(m_bLoaded) m_ImageList.DrawIndirect(pDC , 0 , CPoint( m_rectBtn.left,m_rectBtn.top ), CSize( m_bitmap.bmWidth , m_bitmap.bmHeight ), CPoint( 0 , 0 ) , ILD_NORMAL); Release

6/29/2010 7:17:36 PM 1 mfc <mfcp...@googlemail.com>
About Edit and Continue

Sometimes "Edit and Continue" facility in VS 2003 Studio denies to work. I want to know in which cases this happens??

6/29/2010 7:37:51 AM 5 rahul <hyrahu...@gmail.com>
About stopping container to resize on some condition

Hi I am new in this group. I am using Docking window in my application. When I dock more than one window to each other. I read that it creates container for all that panes. Now when I am docking 3-4 windows horizontally , It create one vertical resizing bar. I want that bar remove and also remove the facility of resizing on some condition. but window should not be undocked. It must be in same position and also I must able to resizing horizontally. Just I want to turn off the vertical resizing as well as remove vertical bar or make it thinner. If anyone has any solution. Please ma

6/29/2010 7:08:25 AM 1 jigar <jigar.0...@gmail.com>
OPC server & MFC

Is there and can anyone point me to some references addressing an OPC server with the handy ODBC classes of MFC? Or am I wishing for too much? Ron H. -- This eMail has been scanned by Norton� 360 and found to be virus free!

6/29/2010 12:11:03 AM 1 "Ron H" <rnha...@nospam.net>
CIPAddressCtrl background image

Hi, how is it possible to add a background image to a CIPAddressCtrl control generated by the resource editor? I`ve written my own subclass (CImageIpAddress), where I can change the textcolor as well as the text-background-color in the OnCtlColor handle. Moreover I integrated a OnPaint() method where the background-image should be created - but it failed... At the moment only the points between the edit control fields are gone.... CImageList m_ImageList; BITMAP m_bitmap; CRect m_rectBtn; BOOL m_bLoaded; void CImageIpAddress::OnPaint() { CD

6/28/2010 2:09:48 PM 0 mfc <mfcp...@googlemail.com>
MFC/C++ report writing?

Does anyone here use MFC/C++/GDI+ to write in-house business reports? or most people should use crystal report instead? I am trying to develop a framework for general work in businesses which constitutes of report writing, use of grid, unicode and multi-threading etc. Thanks Jack

6/28/2010 8:13:36 AM 2 Jack <...@knight.com>
access on other news server?

I can still access the masm group on newsguy's server (while it is already gone on MS.public), does this mean MS is only closing down their server and their groups will remain on pay servers?

6/27/2010 12:22:36 PM 15 "RB" <NoM...@NoSpam>
ON_UPDATE_COMMAND_UI overridden????

I want to change the text on a menu on the fly. So I do this with pCmdUI->SetText() in its ON_UPDATE_COMMAND_UI handler. It works fine except.... ....when the text ends in \tCtrl+X to add my (home grown) shortcut, (or \tAnything) this bit is subsequently removed (as the command has no entry in the ACCELERATORS table). With the old CMDIFrameWnd, CToolBar, CMenu etc stuff it all worked the way it said on the tin. But with the new CMDIFrameWndEx, CMFCToolBar, CMFCMenuBar stuff, it's deciding it knows better than I do what the text should be. This is infuriating. W

6/27/2010 8:37:36 AM 4 "David Webber" <d...@musical-dot-demon-dot-co.uk>
Application Description

When I "put" my application to system tray, in the Windows 7 customizing of the system tray the "file description" is missing and "TODO: <FileDescription>" appears. How can I set this "<FileDescription>"? Thanks, Thomas

6/26/2010 2:43:50 PM 2 =?Utf-8?B?bWlsb25hc3M=?= <milon...@discussions.microsoft.com>
PlaySound Question

Hi, I want to play a wave file when I click on a button #include <MMSystem.h> .... int CDialog::OnBtnClick(...) { PlaySound("123.wav", NULL, SND_FILENAME); } But PlaySound and SND_FILENAME identifiers are not found. Any ideas? Thanks Jack

6/26/2010 1:23:20 PM 8 Jack <...@knight.com>
two projects, one workspace?

I have a new project that will be 95% similar to my usual project. Should I add it to my usual workspace, or are there more benefits to creating its own workspace? This is a new step for me (still in 6.0). Reading up on this did not produce expected answers, and I can't say I understand the choices.

6/26/2010 11:27:12 AM 6 "SteveR" <maxsrussellatremovethisembarqmail.com>
Off for a while

I leave Sunday for San Jose, and will not return until after this NG is "officially" closed. So I don't know what is going to happen. I tried to install Hector's NNTP Bridge but it keeps telling me a DLL is missing, and I gave up. So it may be a while before I reappear. I will still be active until late Saturday night. joe Joseph M. Newcomer [MVP] email: newcomer@flounder.com Web: http://www.flounder.com MVP Tips: http://www.flounder.com/mvp_tips.htm

6/25/2010 7:33:02 PM 19 Joseph M. Newcomer <newco...@flounder.com>
Embed and automate a Word document with MFC

Following link http://support.microsoft.com/kb/238611 has a good sample to embed and automate a word document with MFC. However, I can not use this sample to open an existing Word document. I am wondering if some one can give me some help here. I am also wondering if I can do this, open an existing word document and copy all contents into the new word document created in the above sample. I can not find any copy function in _Document or Documents, those 2 classes are generated from word type library. TIA for any help. emcz

6/25/2010 6:58:24 PM 3 =?Utf-8?B?ZW1jeg==?= <e...@discussions.microsoft.com>
How to subclass an MFC window?

Is there any easy way of overriding the responses to some messages to a CWnd-derived object buried deep within MFC? One reason for the question is: In the old days CMainFrame was derived from CMDIFrameWnd and this had a member HWND m_hWndMDIClient; To draw the background of this window I used to do a SubclassWindow( ) on it, and with my own CWnd-derived object, respond to WM_ERASEBKGND messages. Nowadays CMainFrame is derived from CMDIFrameWndEx and this has a member CMDIClientAreaWnd m_wndClientArea; and (I think) because a CWnd object already exists for the M

6/25/2010 3:14:02 PM 9 "David Webber" <d...@musical-dot-demon-dot-co.uk>
ASCII accelerators

It's donkey's years since I used an acelerator table. (I long since developed my own methods used in response to WM_CHAR and WM_KEYDOWN.) However, now, with a new MFC application I am again trying to make accelerators work. In my accelarator table (edited with the resource editor) I have lines like VK_F1, ID_CONTEXT_HELP, VIRTKEY, SHIFT, NOINVERT and they seem to work. However "0", ID_NOTE0, ASCII, NOINVERT doesn't. In fact ASCII accelerators seem not to work quite generally. I am using the default PreTranslateMes

6/25/2010 1:55:10 PM 10 "David Webber" <d...@musical-dot-demon-dot-co.uk>
localhost

Sometimes I run a client and server application on the same server and I connect them using "localhost" as the IP. The server program then reports the IP address of the client as "127.0.0.1". Is that the IP it ALWAYS translates to? In one display of my server program I show the IP of the connected host. The customer is confused when it shows "127.0.0.1". In my code, can I check for that IP and then display "localhost" instead? Would that always work?

6/25/2010 12:52:43 PM 5 TomChapman <TomChapma...@gmail.com>
custom spin control

Hi, is it possible to split the spin control from vs2010; so that one arrow is left from the editbox and the other one is right from the editbox? look: << [edit-control] >> Or is the only solution to use two buttons ("<<" and ">>") to control the edit control? best regards Hans

6/25/2010 12:47:16 PM 3 mfc <mfcp...@googlemail.com>
Where to store an applications settings file in Windows 7 / Vista

My application uses a xml settings file which can be changed from within the application by the user. Now, under Windows 7 and Vista, I don't know where to store this file. It is not possible to store it under Program Files\... due to missing write access of non-administrators What is the right place to store such files? Thanks, Thomas

6/25/2010 10:50:53 AM 4 =?Utf-8?B?bWlsb25hc3M=?= <milon...@discussions.microsoft.com>
Showing a dialog box before showing main window.

Firstly, as I am novice my questions can be naive. Never mind. What I want to do is: # Check command line arguments # If arguments provide enough information then show the main window to perform some tasks # If command line arguments are not sufficient then I need to show a dialog box so that user can input missing informations, after dialog box is done I will show the main window Now inside ::InitInstance() how will I write to show the dialog box as I cannot use m_pMainWnd as the dialog box is not my main frame window. Please give me hint. Or is it possible to

6/25/2010 9:56:00 AM 4 Saint Atique <uni...@gmail.com>
IID_IHTMLElement Usage in VC++

Dear Friend, Can any one please send some sample code stuff which shows the usage of IID_IHTMLElement for eliminating "id " Input attribute of a webpage resource. Thanks

6/25/2010 7:17:15 AM 0 pk jena <pkj.h...@gmail.com>
_ATL_NO_EXCEPTIONS conflict

HI According to http://msdn.microsoft.com/en-us/library/z325eyx0(VS.80).aspx it says If _ATL_NO_EXCEPTIONS is defined, the function causes an assertion failure instead of throwing an exception. Yet in the header file atldef.h, I see #ifdef _ATL_NO_EXCEPTIONS #ifdef _AFX #error MFC projects cannot define _ATL_NO_EXCEPTIONS #endif The online MSDN documentation appears wrong. You cannot define _ATL_NO_EXCEPTIONS for MFC apps. So no assertion failure for MFC projects, it wont even compile. Stephen Howe

6/24/2010 6:15:07 PM 9 Stephen Howe <sjhoweATdialDOTpipexDOTcom>
Exception Semantics question

I have a question on try throw semantics. This has nothing to do with whether I should try or catch but just the fact that I don't understand what is going on here. Admittedly this is not any real code but a scenario that I happened on by accident in experimenting with writing my own exception class. The below code compiles and runs with no errors but a newb like me doesn't understand how. See comment on GlobalFunc #include <iostream.h> class ClassNoObject { public: ClassNoObject(){} ~ClassNoObject(){} void ClsNoObjFunc() { cout << "no object class printing? \n

6/24/2010 3:12:48 PM 23 "RB" <NoM...@NoSpam>
How to embed a word document in CView

I am looking for some code sample embed an existing word document in a view. MSDN has a sample to embed a new word document in a view. But it has an extra control in the windows, and it doesn't let me to open an existing word file. TIA for any help.

6/23/2010 11:01:45 PM 1 emcz <emcz1...@yahoo.com>
Stay resident dll

I currently have a MATLAB mex function that allows the user to view & manipulate 3D point cloud data directly from MATLAB. A mex function is nothing more than a standard dll with a specific MATLAB entry point. The viewer was written in MFC using OpenGL. My problem is that since it is a dll the user must close the viewer before returning to MATLAB. In other words, the user calls the viewer from MATLAB, looks at the data, closes the viewer and then returns to MATLAB. I would like to find a way to keep the viewer up permanently so that it works independently from MATLAB so th

6/23/2010 7:02:05 PM 10 =?Utf-8?B?SlJHbGlkZQ==?= <JRGl...@discussions.microsoft.com>
CIPAddressCtrl: focus handle

Hi, is it possible with the CIPAddressCtrl class (ip address control) that every ip-addr-field [ip-addr format: field1 (dot) field2 (dot) field3 (dot) field4] between the points will get the focus point by using the tab-key on the keyboard? At the moment with the default settings only the first ip-addr field will get the focus --> pressing the tab-key, the next item (button e.g) will get the focus handle... In my application, you have only the ability to enter a new ip-addr with an encoder wheel or with a touchscreen. Therefore every field in the ip-addr must be able to get the fo

6/23/2010 1:06:56 PM 2 mfc <mfcp...@googlemail.com>
Calling a web service from MFC

Hi fellows, How do I call a web service from an MFC application? This is something I'd like to do without bringing .NET into the picture, if possible. Thanks in advanced for any pointers.

6/23/2010 7:20:16 AM 10 "Eddie Paz" <drp...@hotmail.com>
project dependencies: satellite dlls and main-project

Hi, how is it possible to delete all dialog boxes and the mainframe-menu from the startup application project, if there are satellite dlls including these information? At startup of the project the specific dialog frame / and mainmenu will be loaded from one of the satellite dlls... if I delete the dialog box from the startup app, but I got linker errors (for all ids from the dialogbox and the items in the dialogbox); even if I use project dependencies (main app project > dependencies: satellite dlls) Which additional steps do I have to do to achieve this? best regards Hans

6/23/2010 7:18:47 AM 1 mfc <mfcp...@googlemail.com>
Looking for recommended approach to using Regular Expressions.

Hello again folks, I am working through things in my application, and I would appreciate any recommended approaches to using Regular Expressions in my code. This is an MFC application. I am using Visual Studio 2008 pro. I have read about references to a "boost" library, and I have read references to an ATL regex class, and I have read something about Regular Expressions being included in SP1 of VS2008. I wnat to use regular expressions to edit telephone numbers, and Postal Codes, and dollar amount fields. Anyway, if anyone has any experience with any of the above, and can offer

6/22/2010 3:56:12 PM 16 =?Utf-8?B?Q2FtZXJvbl9D?= <Camer...@discussions.microsoft.com>
Break class execution in Thread

Hello, I have a thread who executes a class and waits the execution. This thread have a time-out break, which cancels the execution if the time- out ocurr. The problem is the class continue executing and sometimes this causes a exception. How can I resolve this? I put the code to show this below. I use Sleeps to the class continue executing. ////////// #include <stdio.h> #define _AFXDLL #include <afx.h> class CAbc { public: int a[11]; int b; void PreencheLista() { for(int i = 0; i<11; i++) { a[i] = i; Sleep(1000); } }; int GetItem(int i)

6/22/2010 2:46:10 PM 1 MFDonadeli <hwork...@gmail.com>
Problem handling keyboard events in ActiveX on IE8

Hi All, I have a ActiveX control which was working fine till now. I was using IE7 as the ActiveX container. I handle the keyboard events using PreTranslateMessage. But since i switched to IE8 the keyboard events are not being passed to my activex control. If i press backspace in a edit control on my ActiveX, the browser gets re-directed to the previous page. Also i'm not able to debug the ActiveX control since i switched to IE8. Why am i not able to debug my application? Any help is highly appreciated. Thanks, Bharath

6/22/2010 2:16:08 PM 1 bharath_r <bharath.0...@gmail.com>
Abstract Id attribute value

Dear Friends, Actually i want to retrieve "id" attribute's value from the source page [Right click on a Webpage->Select 'View Source'].For example - 'id' of PasswordBox . Right now i able to retieve the values of attributes like- 'type','name','image'. But i unable to retieve value of 'id'. I'm using VC++ .Please any one help me out in this regard soon Thankx

6/22/2010 6:07:57 AM 1 pk jena <pkj.h...@gmail.com>
ALT+TAb problem in W7

Hi, I have an MFC application which its main window does not pop to foreground when the user presses ALT+TAB on W7. Can someone help me understand what may cause it ? thanks, Yoav.

6/21/2010 8:04:04 AM 0 "Yoavo" <y...@cimatron.co.il>
Problem in showing application from TaskBar

Hi, I have an MFC application which have the following problem: Sometimes, if I have more than one instance of the application, when the user click the TaskBar button (when my application is minimized) the application stays minimized. Can someone advice ? thanks, Yoav.

6/21/2010 8:14:35 AM 10 "Yoavo" <y...@cimatron.co.il>
Deriving from a class derived from a CDialog

Hello, Hopefully the title wasn't too confusing. I have a problem with the class wizard. For classes which are derived from CDialog via 2 hops he looses the ability to generate event handlers. If I add the event handlers by hand things work but the automatic 'wizard' things in the resource editor no longer work. 1) What I wanted to achive and did The project (a dialog based app) uses a tabulator control to display various pages to the user where he can change values, send commands to an external device and see the results. But certain operations have to be performed always when

6/21/2010 10:39:55 AM 2 Oliver Regenfelder <oliver.regenfel...@gmx.at>
Exception handling?

In my below foobar first attempt to try exception handling I don't understand the following aspects: (my code at bottom after these framework pastes) 1. I must not be doing something correct because even though both my CATCH and AND_CATCH call stuff on return that appears to be deleting the exception and taking care of various cleanup. // abbreviated Step thru pastes //--------------------------------------- void AFXAPI AfxTryCleanup( ) { ...... ..... // delete current exception ASSERT(pLinkTop != NULL); if (pLinkTop->m_pException != NULL) pLinkTop->m_pExce

6/21/2010 4:13:13 PM 77 "RB" <NoM...@NoSpam>
How to show underlined menu shortcut letters by default for a context menu ?

Hello I try to present the user with a pop-up menu using TrackPopupMenu, and although I use menu items with text like _T("&Set UIO Area"), with an ampersand in front of S to get the letter underlined in the menu so user knows she can press 'S' key on the keyboard to chose the command from the menu. However the letters never get underlined and I hear this is a Windows 2000 "feature" (is that how they call bugs today ?) and that I have to changes some system settings in display control panel to get the meniu right. The problem is my client wants the shortcuts on the menu,

6/21/2010 6:01:46 PM 5 Timothy Madden <terminato...@gmail.com>
button creation

Hi, is it much better to create all the buttons from a view in the OnInitialUpdate() method instead of placing the buttons with the resource editor.... Version1: create button in resource-editor and add some additional properties in the OnInitialUpdate() method of the specific view m_btnMenu1Ok.SetButtonImg(IDB_BTN_IMG_OK, IDB_BTN_IMG_OK_PRESSED); m_btnMenu1Ok.SetButtonText("OK"); m_btnMenu1Ok.SetFont("Arial",16); m_btnMenu1Ok.SetColor(CImageTextButton::BTNST_COLOR_FG_IN, RGB(255, 255, 255)); m_btnMenu1Ok.SetColor(CImageTextButton::BTNST_COLOR_FG_OUT, RGB(150, 150, 150)); m_

6/21/2010 6:13:22 PM 4 mfc <mfcp...@googlemail.com>
panel method (from Java) in MFC

Hi, another small question: is there an option / method in c++ together with MFC to create a panel (like in java) where all items of this area (panel = rectangle) are included? So that you are able to hide all these items if you hide this panel? Here`s a small description of the "panel" in java http://java.sun.com/docs/books/tutorial/uiswing/components/panel.html (The JPanel class provides general-purpose containers for lightweight components - like buttons and any other items from the tool menu in VS) best regards Hans

6/21/2010 6:19:45 PM 0 mfc <mfcp...@googlemail.com>
different languages: text file for each language | method to add these text files to the items

Hi, a small additional question to using different languages in a sdi app project. At the moment I`ve created some satellite dlls - every resource has all dialoges included with different text strings for the buttons etc. It is working, but it is also very costly to update or add a new language... I hope there will be a much better method to do this - like importing a CSV file or a property file (like in Java)? Is this a common way to do that? Moreover if I import such a file to my project at the startup, is it also a common method to add every text string (depended on the sel

6/21/2010 6:32:37 PM 7 mfc <mfcp...@googlemail.com>
Reminder - Microsoft Responds to the Evolution of Community

What is Happening? This message is to inform you that Microsoft will soon begin discontinuing newsgroups and transitioning users to Microsoft forums. Why? As you may know, newsgroups have existed for many years now; however, the traffic in the Microsoft newsgroups has been steadily decreasing for the past several years while customers and participants are increasingly finding solutions in the forums on Microsoft properties and third party sites. This move will unify the customer experience, centralize content, make it easier for active contributors to retain their influence, miti

6/21/2010 8:35:24 PM 0 <n...@microsoft.com>
DocClass Implement Serial

Well I have done a bit more study and experimenting and I have 3 questions. Appreciate input from everyone as usual and hopefully Goran will also reply since he has helped me the most on serialization and from going back and rereading the context of his replies (after I studying and experimenting enough to even understand them) I can tell the he has a firm grasp on what is going on in MFC's serialization process. , My first question is, I can not help but wonder why MFC does not generate the Doc class (derived from CDocument) with the Serial macros as opposed to the Dyncreate.

6/20/2010 2:51:39 PM 9 "RB" <NoM...@NoSpam>

Pages: 2 3 4 5 6 7 8 9 10 11 12 13









Newest Articles

pagefile necessary?
28 min. 13 sec. ago

Hi,ICopiedSomeTextAndPhotosFromAWebsite+PastedThemInAnEmailFromThi
1 hour 41 mins ago

Recover Format 400GB External Hardive
2 hour 37 mins ago

KEVIN J0HN PANNZKE WON the BATTLE
3 hour 20 mins ago

Cross apply from function not working
4 hour 3 mins ago