Search Results - CodeGuru Forums
CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com

Search:

Type: Posts; User: JohnCz

Page 1 of 80 1 2 3 4

Search: Search took 0.16 seconds.

  1. Replies
    2
    Views
    436

    Re: problem with CEdit in CDialogBar

    It not edit control problem, it is a problem with creation of the accelerator.
    You should use modifier: Ctrl, Alt or both when creating accelerator.
  2. Re: How get same info as Win32_PortConnector from DeviceIoControl

    I am not sure what you are trying to achieve but from what I gather, you are comparing apples to oranges.

    MSDN:
    The Win32_PortConnector WMI class represents physical connection ports, such as...
  3. Replies
    18
    Views
    5,611

    Re: ComboBox List Drop-Down not showing?

    Resource editor uses WS_VSCROLL as part of the default set of styles. I do not think there is a need for tinkering with it.
  4. Replies
    18
    Views
    5,611

    Re: ComboBox List Drop-Down not showing?

    What version of VS and SDK you are using?
    Is it Win32 app or MFC based? What version of windows you are testing your app?
    I wrote sample program with initial number of items set to 20, and after...
  5. Re: Mfc..how to change font of string with menu button

    Is your view derived from CRichEditView?
  6. Re: How to enumerate font styles for a given font

    Look into:
    EnumFonts
    EnumFontFamilies(Ex)
  7. Replies
    2
    Views
    895

    Re: Prevent a DLL from being loaded/injected

    In your case, the question to ask is: is this hook dll preventing only one (yours) application from running, or others too?
    If yours is the only one, it is most likely your application is a culprit....
  8. Re: Code reuse by handling CEdit ON_WM_SETFOCUS handler

    First of all: do not subclass your control using CEdit class. Derive your own from CEdit and then subclass the control.
    Secondly, CDialogEx does not implement ShowKeyboard function unless you are...
  9. Re: Mfc..how to change font of string with menu button

    vatralaus
    Could you please clarify?
    Are you having problem with changing font of the displayed text or you have a problem with font typeface selection?
    What is the type (class) of the window you...
  10. Replies
    6
    Views
    1,961

    Re: MFC "The parameter is incorrect"

    It is virtually impossible to resolve your problem without analyzing your code and debugging.
    Could you please attach your project in a compressed form? Do not include debug/release folders.
  11. Replies
    12
    Views
    2,615

    Re: MDI "More Windows..." dialog

    I am somewhat confused here.
    A question to OOP:
    Are you trying to override MFC MDI application default behavior or you are trying to implement MFC "More Windows…" behavior in Win32 application?
  12. Replies
    1
    Views
    1,163

    Re: MFC CTreeCtrl problem

    Is it necessary to delete and recreate tree item? You just chage a text and if you are using item data change it too.
  13. Re: Controls are flicker madly on resize. I'm trying double buffering but I still ...

    Yes, please post ypur code.
  14. Replies
    7
    Views
    1,289

    Re: [RESOLVED] Print preview ASSERT problem

    Can you compress and post your project?
    I was trying to follow your instructions but I am not able to duplicate the problem.
  15. Re: Controls are flicker madly on resize. I'm trying double buffering but I still ...

    OK, you have created project that does the same.
    The thing we are asking for is to compress (zip) entire project (solution, project, source and resource files) and attach it to your post.
    Before...
  16. Replies
    7
    Views
    1,289

    Re: Print preview ASSERT problem

    Indeed, OnPreparePrinting() and OnPrepareDC() should initialize device context properly.
    If you do not need something fancy to print, OnDraw should handle printing as it were a screen.
    It is really...
  17. Re: Controls are flicker madly on resize. I'm trying double buffering but I still ...

    I am not sure why did you deliver executable. Did misunderstood Igorís post?
    He meant to create project that reproduces a problem, so we will have a chance to see the cause not the effect.
  18. Replies
    7
    Views
    1,289

    Re: Print preview ASSERT problem

    It tells you that your CDC object does not have windows device context attached to it.
    I do not know how you instantiate CDC object but both: m_hAttribDC and m_hDC are initiated to the same value...
  19. Replies
    3
    Views
    525

    Re: String to Char *

    You can convert string to LPTSTR (or TCHAR) using LPCSTR operator:


    CString csTest(_T("Testt String"));

    LPTSTR lpszBuff = (LPTSTR)(LPCTSTR)csTest;
    TCHAR* pszBuff = ...
  20. Replies
    6
    Views
    2,349

    Re: MFC Multiple views for different graphs

    That depends.
    I do not know how received data is delivered.
    If delivery contains data that is common for all graphs, I would keep data in the document and each view would ask document for needed...
  21. Replies
    3
    Views
    2,145

    Re: win registry function help

    You can use std vector or map whatever suits you better.
    If you have MFC support, you can use MFC native equivalents: CStringList or CMap
  22. Replies
    10
    Views
    1,320

    Re: Non-English System Folders.

    John,
    Is your application using hard coded location of the installed program?
    You should use SHGetFolderPath to retrieve program files.
    There is more to take under consideration:
    32-bit program...
  23. Replies
    6
    Views
    2,349

    Re: MFC Multiple views for different graphs

    You have two choices: register different templates for each graph and invoke new file for each of them.
    The drawback is you will have document object created for each template.

    If you are using...
  24. Re: How to reference a value from earlier in your code?

    Use variables to store responses.
  25. Re: How to get a working context menu on a dialog bar RichEditCtrl ?

    I forgot to add:
    I have subclassed rich edit control using standard DDX and CRichEditCtrlEx class. I had to write the code to insert member variable; class wizard is dumb handling CDialogBar derived...
Results 1 to 25 of 2000
Page 1 of 80 1 2 3 4


Windows Mobile Development Center


Click Here to Expand Forum to Full Width

This is a CodeGuru survey question.


Featured


HTML5 Development Center