Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  • Users: bulgakov
  • Content: Threads
  • Order by date
  1. bulgakov

    .net installer

    Anyone know how to test the operating system for windows 98/2000/XP. I need to know the is_windowsnt result but I don't know how to enter it in the condition field in the installer. I want to install a file but only in windows 98. Thanks.
  2. bulgakov

    VS .NET 2003 App looking for MSVCRTD.dll ?

    Hi, I have ported over an app from VC 6.0 to .Net 2003. I am compiling the debug version, and it all links and builds fine. However when I run it I get a missing msvcrtd.dll error. Surely the app should be looking for msvcr71d.dll ? How can I get around this. Thanks.
  3. bulgakov

    How do I dump TRACE to a file

    I know there is a TRACE function/macro that will dump the stack trace out to the output window in the debugger, what I want to do is dump the results to a file (as I will be running a debug build but not with the debugger). I have chosen not to run a release build because the TRACE...
  4. bulgakov

    Change colours in a bitmap DC

    All, I am writing a bitmap to a file, however after I bit blat with BitBlt how can I change all references from one colour to another ? I am trying to change the blue background to white so I can save the image with a white background. Thanks. CBitmap bitmap; CClientDC dc(pwd); CDC memDC...
  5. bulgakov

    Change Background Colour Of Bitmap

    I have a bitmap in a CDC and I need to change the background colour any quick ideas ? Thanks.
  6. bulgakov

    Why Does My App Crash in 95/98 but not in XP (CContext fails)

    All, I have an app developed in XP using visual studio 6. All works fine. It is an MDI that has a multidoctemplate setup in the App class. In 95/98 however I run the app and it crashes in the MFC the stack is CMDIChildWnd::OnCreate CFramWnd::OnCreateClient CFrameWnd::OnCreateHelper It appears...
  7. bulgakov

    How does memory get allocated in XP

    All, I am interested in monitoring how much memory my app is using (it looks like it may be leaking I am using bounds checker to search for the leaks), but on the live system I can monitor the physical memory available in the task manager, but how and when does the app hand back the memory...
  8. bulgakov

    Print with no Print Dialog

    Can anyone please help me by providing an example of how to print a view without the print dialog box coming up, I just want to print the current view with the default printer, thanks ! Marcus
  9. bulgakov

    Missing Afx Strings

    I had a project created using the class wizard, now I have imported the code into a different project. I now get asserts in the MFC complaining about using Afx Format Strings, basically it can not find the resources. What DLL or resource do i need to link in ? Thanks
  10. bulgakov

    Missing Afx Strings

    All, I have a problem with LoadString not finding any Afx Strings, the various VERIFY statements assert due to not finding the string. The strings vary from "Untitled" which is used via a NewDocument call, to "Do you wish to save ?" e.g. of a verify assert BOOL...
  11. bulgakov

    Getting a CCmdUI from a CButton

    History: Buttons on a dialog bar can not be enabled and disabled (see KBA 152376). The answer is to have a handler for ON UPDATE COMMAND UI to the button void CMainFrame::OnUpdateButton1(CCmdUI *p) { p->Enable(TRUE); } so this is great it works, now I want to disable this button when the...
  12. bulgakov

    When can I enable/disable buttons on a dialog bar ?

    All, I have a dialog bar that is created thus... void CMainFrame::OnCreate() { if(!m_wndDlgBar.Create(this,IDD,CBRS_LEFT,IDD) . . .; } The MainFrame is created from MyApp::InitInstance() what I need to know is when can I set the button states (i.e. Grayed - SetWindow(false)) I...
  13. bulgakov

    Displaying a bitmap in a view

    hello all, I am trying to display a bitmap in a rectangle on a view. I have written this to do it... void MyView::OnDraw(..) { HBITMAP MyBitmap = (HBITMAP)::LoadImage(0,"bit1.bmp", IMAGE_BITMAP, 0 ,0 ,LR_LOADFROMFILE); CStatic BitDraw; BitDraw.Create("", SS_BITMAP...
  14. bulgakov

    Getting a Document pointer from a dialog derived

    WEhats the best way to get a pointer to the document from a CDialog derived class ? And a pointer to the view ? I am developing an MDI. Thanks Marcus
  15. bulgakov

    Why does my menu appear very narrow ?

    I have created a menu in the resource editor and have implemented the following code (in my View class) void CMBFView::OnContextMenu(CWnd *p, CPoint point) { CMenu Me; Me.LoadMenu(ID_MY_MENU); Me.TrackPopupMenu(TPM_RIGHTALIGN | TPM_RIGHTBUTTON, point.x, point.y, this); SetMenu(&Me)...

Part and Inventory Search

Back
Top