Type: Posts; User: AlionSolutions
Search took 0.02 seconds.
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...
March 26th, 2011, 07:54 AM
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...
March 25th, 2011, 11:40 AM
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:
March 19th, 2011, 04:41 PM
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...
March 19th, 2011, 11:47 AM
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...
March 14th, 2011, 05:53 AM
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...
March 13th, 2011, 02:02 PM
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...
March 13th, 2011, 01:53 PM
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...
March 13th, 2011, 01:21 PM
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,...
March 11th, 2011, 07:57 AM
Just found the solution. It is calling DrawMenuBar. How should one know, that this doresn't happen automatically? Curses towards Redmond!
March 11th, 2011, 07:41 AM
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...
March 11th, 2011, 07:33 AM
Thanks a lot. I thought the internal handling of the scrollbars is automated. Allways something to learn in Win32API ;)
March 10th, 2011, 04:41 AM
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...
February 25th, 2011, 01:44 PM
Well, I feel a bit stupid now...
SendMessage(combo, CB_SETCURSEL, 0, 0);
SendMessage(combo, CB_SETCURSEL, 1, 0);
I noticed that the items in fact have been added. Just my Combo...
February 25th, 2011, 01:17 PM
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...
February 21st, 2011, 01:23 PM
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...
February 2nd, 2011, 09:12 AM
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...
February 1st, 2011, 08:23 AM
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...
September 26th, 2010, 10:22 AM
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...
September 26th, 2010, 10:06 AM
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...
September 26th, 2010, 10:02 AM
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!
September 26th, 2010, 05:46 AM
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...
September 25th, 2010, 06:29 AM
Problem solved! Had the include statement accidentally inside a namespace declaration :D
September 25th, 2010, 06:24 AM
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...
Click Here to Expand Forum to Full Width
This is a CodeGuru survey question.