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

Search:

Type: Posts; User: pm44xl23

Search: Search took 0.00 seconds.

  1. Replies
    5
    Views
    783

    Re: Informations for a noob

    Thank you for your time answering me :)
  2. Replies
    5
    Views
    783

    Informations for a noob

    I'm confused about the following words:

    __declspec(dllexport) / __declspec(dllimport)

    extern "C"

    __stdcall


    I only realized that extern "C" preceding a function create a decoration-free...
  3. Replies
    5
    Views
    2,099

    Re: winctrl1.cpp line 39 -> OwnerDraw problem

    You won't believe me but I solved it creating a CStatic subclass for the control we were talking.

    Just adding the code for the ownerdraw method (empty and unused), solves the assertion. This isn't...
  4. Replies
    5
    Views
    2,099

    Re: winctrl1.cpp line 39 -> OwnerDraw problem

    You're right that the else code is never executed.

    But seems like you cannot modify into "==" because the code gets executed only when a WM_OWNERDRAW control needs redraw. Since my dialog has...
  5. Replies
    8
    Views
    2,542

    Re: Look & feel of MFC-programs

    If you have still troubles, see here: http://www.codeguru.com/cpp/controls/controls/article.php/c5227

    This still works for me.
  6. Replies
    5
    Views
    2,099

    Re: winctrl1.cpp line 39 -> OwnerDraw problem

    Problem solved, excuse me.

    I solved putting a simple "else" in this position:



    void CDialog1 ::OnDrawItem(int nIDCtl, LPDRAWITEMSTRUCT lpDrawItemStruct)
    {

    if(lpDrawItemStruct->itemID...
  7. Replies
    5
    Views
    2,099

    winctrl1.cpp line 39 -> OwnerDraw problem

    I have a picturebox control with OwnerDraw set to true.

    In the CDialog1 class I wrote code to draw onto it in the function



    void CDialog1 ::OnDrawItem(int nIDCtl, LPDRAWITEMSTRUCT...
  8. Replies
    8
    Views
    858

    Re: New Idea, i need help with

    what?
  9. Re: Drawing with GDI with VC++ -> suggest me a guide or tutorial

    You are right. Any tome to suggest?
  10. Re: Drawing with GDI with VC++ -> suggest me a guide or tutorial

    Something more theoric for the abc? The code isn't extensively commented as I expected
  11. Drawing with GDI with VC++ -> suggest me a guide or tutorial

    Ok I cannot continue to bother you with my questions about how drawing into a picture box with OwnerDraw set if I really can't figure out what CDC is, what HDC stands for or why BitBlt wants a CDC...
  12. Re: Simple doubt about modal dialogs (they block caller they do not?)

    It's not working, I did something wrong.


    I used this code:



    m_thread= new CUIThread();
    m_thread->CreateThread();
  13. Simple doubt about modal dialogs (they block caller they do not?)

    Scenario:


    Class A -> need to perform about 30 cycles. Every one of these cycles should be shown at the user as soon as it completes in a window with a graph (don't mind how this graph gets...
  14. Replies
    1
    Views
    826

    Re: boost: swap two columns of a matrix

    I was silly, there's a swap function ready-for-use.

    Thank you however
  15. Replies
    1
    Views
    826

    boost: swap two columns of a matrix

    I'm trying to swap two columns of a ublas matrix like

    matrix <double> m_mat(2,2);


    but since they are row-major I can't find a solution (excepted for an ugly cycle)

    Do you have any other...
Results 1 to 15 of 15


Windows Mobile Development Center


Click Here to Expand Forum to Full Width

This is a CodeGuru survey question.


Featured


HTML5 Development Center