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

Search:

Type: Posts; User: VladimirF

Page 1 of 5 1 2 3 4

Search: Search took 0.19 seconds.

  1. Re: concatenation of strings when entering city, state and zip code

    What is the reason for explicitly initializing string variables with the empty string?
  2. Replies
    3
    Views
    217

    Re: How to scroll text drawn with DrawText

    Check out ScrollWindow function.
  3. Re: Odd Dialog creation... when deleting unused line of code

    When you run it "in the IDE", you are still running the compiled and linked executable.
    Are you saying that the same exe file that runs OK from IDE behaves differently when simply double-clicked...
  4. Re: Usual ways to find number of open windows in a process? (reverse engineering)

    I think this approach is very naive. Why would I use any of Enum...() or Find...() functions to locate the window that I created? I would much rather keep a handle in some container.
    The program you...
  5. Replies
    2
    Views
    254

    Re: Column of buttons?

    Do you really need a button in every row of the list view?
    Buttons are windows, and having a lot of them will cause problems.
    You can already process clicks in the list view, do you just want it to...
  6. Replies
    14
    Views
    1,119

    Re: error 193 with CreateProcess, why?

    File corruption?
    Can you run it from the command line or from windows explorer?
  7. Re: A little help! WM_PAINT + BMP

    Do you really need to load your image in response to EVERY windows message you get? (hint – no, you don’t).
    Since you only attempt to delete this HBITMAP while processing WM_PAINT message, all other...
  8. Replies
    6
    Views
    630

    Re: CreateProcess

    So many questions!
    The 'Not Responding' issue is explained by S_M_A. You can fix it with either working threads, or by processing Windows messages from time to time. Use MsgWaitForMultipleObjects()...
  9. Replies
    10
    Views
    635

    Re: Why am I getting a compiler error?

    Alternatively, you can provide a constructor for B2 that takes a value to be set to m_var, and initialize B2 instead of that variable.
  10. Replies
    11
    Views
    747

    Re: My own "editor"

    So, the user will write the code to perform some HW interaction, and you will provide the button that calls his function?
    Not a lot of value, in my opinion.
  11. Replies
    12
    Views
    945

    Re: is "result" a reserved name ?

    But he did - called it "wesult" and it worked...
  12. Re: Output Sorting Error Using Pointer Notation[Beginners Question]

    This implementation of bubble sort looks wrong:

    for(i=0;i<n-1;i++)
    for(j=1;j<i;j++)
    order(c1+i,c1+j);
  13. Re: How to share a resource project among multiple projects?

    This "Linker/Advanced/Import Library" produces /IMPLIB command, NOT the input library:
    http://msdn.microsoft.com/en-us/library/67wc07b9(v=vs.80).aspx
    You need to specify Linker/Input/Additional...
  14. Re: How to share a resource project among multiple projects?

    The MFC's DoModal() looks for the dialog resource in the instance returned by AfxGetResourceHandle(), so you need to temporary replace it with your DLL's instance:

    HMODULE hDll =...
  15. Re: How to share a resource project among multiple projects?

    Is this your first DLL project? Have you ever used other DLLs in your projects?
    You have to LINK to the lib that implements these functions.
  16. Re: How to share a resource project among multiple projects?

    Try to create a DLL project using VS Wizard. You should see something like that:

    // The following ifdef block is the standard way of creating macros which make exporting
    // from a DLL simpler....
  17. Replies
    9
    Views
    638

    Re: printer not showing the image properly.

    900 of what? And 60 of what?
  18. Replies
    1
    Views
    156

    New ad placement

    First, I *DO* understand that in order to provide free forum one has to run ads.
    But new placement is really bad. If I remember correctly, the thread view did not have ad on the right side before –...
  19. Replies
    35
    Views
    1,259

    Re: generic inheritance

    No, line 7 is this one:

    class NumericArray: public Array<Type>
    and it looks like you simply are not including array.h in NumericArray.cpp
  20. Re: Try to put own Class to creating by me like vector. unknow compile err

    I see that your current problem is solved, but would like to point that, according to your screenshot, your latest build failed and you are debugging something else.
  21. Re: how to Clip window to primary display monitor

    Instead of clipping, process the WM_WINDOWPOSCHANGING message
  22. Re: stop Refreshing of images drawn by setpixel() and saving it how to do?

    You should read about flicker-free drawing using double buffering.
    In short, you plot your data on the off-screen DC and use BitBlt() in your OnDraw() to paint it on screen.
    You would also need to...
  23. Replies
    3
    Views
    213

    Re: Keep getting warning

    Not really. May be if Imperial system was decimal-based... :)
  24. Replies
    12
    Views
    570

    Re: Array of class with inheritance

    1. Declaring a function in the base class “virtual” is sufficient for all derived classes function of the same name be virtual.
    2. Compiler will generate the destructor for a class if it is not...
  25. Re: How to find the architecture of the system using pointers?

    I meant that you can only determine if the code was built for 32-bit or for 64-bit, NOT if it runs on 64-bit.

    Well, you can use only one (64-bit) build and see if it even runs on your system :)
    ...
Results 1 to 25 of 120
Page 1 of 5 1 2 3 4



HTML5 Development Center

Click Here to Expand Forum to Full Width