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

Search:

Type: Posts; User: AlionSolutions

Page 1 of 12 1 2 3 4

Search: Search took 0.11 seconds.

  1. Re: Using an applications window handle in a DLL?

    Thank you VERY much!
  2. Using an applications window handle in a DLL?

    Heya Folks!
    After quite a while I start to program Windows again and as always I have a strange question. What I want to do:
    I want a DLL to work as a plugin for the main application. I want to...
  3. Re: ScrollBar sends masses of WM_VSCROLL messages for one click on the arrow?

    Thanks for trying to help. Somehow the behaviour vanished. I really hate those things where the problem goes away somehow and you don't know why... but wait: Somehow I love it, because everything...
  4. ScrollBar sends masses of WM_VSCROLL messages for one click on the arrow?

    Heya!
    I'm in some trouble again. I have a scrollbar in a child window of a dialog. The window has (of cause) a WndProc, which looks, stripped down to the essentials, like this:


    LRESULT CALLBACK...
  5. Re: Common File Dialogs -> Centering and making them modal?

    Hi ovidiucucu!
    Thanks a lot for getting me a lot further! But I still have some questions and it would be great if you could help me understanding this:

    1. WHY is it the parent of the dialog I...
  6. Common File Dialogs -> Centering and making them modal?

    Hi Folks!
    I really read a lot of the documentation about customizing common dialogs, but somehow my solutions still do not work. So I ask you, the Gurus, to give me some help.

    What I want is a...
  7. Re: WM_MOUSEWHEEL messages never arrive. Why?

    Sorry Igor, didn't mean to offend too. But I coded on various operating systems since 1986 and the Win32 API is in my opinion the worst stuff I ever came across. From the other operating systems APIs...
  8. Re: WM_MOUSEWHEEL messages never arrive. Why?

    AFDrawArea ist something you don't have to worry about. ;)
    It's a object oriented encapsulation of the window. I don't like to break the object oriented style of C++ just for the OS from Redmond :D...
  9. Re: WM_MOUSEWHEEL messages never arrive. Why?

    Thanks Igor! I allready read this on MSDN. But I really dont understand why my childwindow should not have the focus and should therefore receive the WM_MOSEWHEEL messages. The childwindow receives...
  10. WM_MOUSEWHEEL messages never arrive. Why?

    This is just strange. For the first time I wanted to use messages from the mousewheel in Win32 API. So I put this in my Windowprocedure :


    LRESULT CALLBACK AFDrawArea::WindowProcedure (HWND hwnd,...
  11. Re: Menustrip enabled but still grayed -> what to do?

    Just found the solution. It is calling DrawMenuBar. How should one know, that this doresn't happen automatically? Curses towards Redmond!
  12. SOLVED: Menustrip enabled but still grayed -> what to do?

    Hi Folks!
    Some more fun with Win32 API ;)
    I have that mainmenu for for a window and the second menustrip is and should be disabled and grayed at the start of the application. Then, on a particular...
  13. Replies
    4
    Views
    1,099

    Re: ScrollBars do not really work. Why?

    Thanks a lot. I thought the internal handling of the scrollbars is automated. Allways something to learn in Win32API ;)
  14. Replies
    4
    Views
    1,099

    ScrollBars do not really work. Why?

    Hi Folks!
    Another, maybe stupid, question:
    I have that window for which I want ScrollBars to show up if the content is too large for the client rect. For this purpose I use the following function...
  15. Re: CB_ADDSTRING for Combobox doesn't work as expected

    Well, I feel a bit stupid now...
    After changing
    SendMessage(combo, CB_SETCURSEL, 0, 0);
    to
    SendMessage(combo, CB_SETCURSEL, 1, 0);
    I noticed that the items in fact have been added. Just my Combo...
  16. [RESOLVED]CB_ADDSTRING for Combobox doesn't work as expected

    Heya Folks,
    need your help again. All I want is to initialize the strings for a ComboBox in a dialog created from a resource. Here's some code:


    BOOL DialogProc(HWND hwnd, UINT message,WPARAM...
  17. Replies
    0
    Views
    452

    Building a dialog programatically?

    Heya!
    Until now I used Borland C++ Builder for all my Windows coding work. So I did all the creating of forms, dialogs etc. by clicking it together. For some reasons I have to code now using...
  18. Replies
    6
    Views
    1,971

    Re: wxWidgets under Windows and Dll's

    Ok, folks, sorry for not answering earlier, I had some other stuff to do.
    First, thanks for all your replies. Meanwhile I found out, that my crashes were not really related to what I thought they...
  19. Replies
    6
    Views
    1,971

    wxWidgets under Windows and Dll's

    Hi Folks!
    I decided to use wxWidgets for my new application. The part I want to talk about here is to do graphics operations from a DLL on a wxWidgets Device Context (DC).

    What I want to do is to...
  20. Re: Problem with floats -> want to use them for currency calculations

    Ok, thanks folks, you are really quick. I think the most easy way would be to use integers and convert it all to cents.

    But just out of curiosity: Which libraries would you recommend?
    What is a...
  21. Problem with floats -> want to use them for currency calculations

    Hi,
    another annoying problem. I am working at this programm which should do currency calculations. Currencies generally have 2 digits after the comma, not more. Now if I convert for example an...
  22. Re: Strange problem with SQLite -> sqlite3_step

    For now I fixed it by using sqlite_exec which is much easier to use AND works. I am using sqlite version 3 by the way. Thanks!
  23. Strange problem with SQLite -> sqlite3_step

    Hi,
    if there are any SQLite specialists here, maybe they can help me a bit. I try to create a table programatically in SQLite. So here's what I did and what happens:

    1. Created the database using...
  24. Re: Strange compiler error when including vector

    Problem solved! Had the include statement accidentally inside a namespace declaration :D
  25. Strange compiler error when including vector

    Hi,
    if I try to include the stl header for vector I get the following compiler error in Borland C++ Builder 6:

    'reverse_iterator' is not a member of '_STL'

    The line in _vector.h where the...
Results 1 to 25 of 282
Page 1 of 12 1 2 3 4





Click Here to Expand Forum to Full Width

Featured