Type: Posts; User: HellMaster22
Search took 0.01 seconds.
September 18th, 2013, 12:47 AM
Victor, thank you for the grid control, this led me to the following page of interesting dialog:
and one important...
September 17th, 2013, 11:29 AM
2kaud, don't focus on that. The child window will be inside it's parent window, which is not wanted. The origin of my question is how to implement such setting dialogs. The dialog should be used by...
September 17th, 2013, 10:43 AM
Thx for your reply Victor. Even when creating a window with cca 250 controls? When I want to change something, then I've to move all of them. Is Dialog the only way? No other techniques I should look...
September 17th, 2013, 09:58 AM
I got a main window with menu and the option settings. When I click settings a "dialog" should appear, where the user is able to set some parameters - into a global variable. This window...
April 12th, 2013, 08:34 AM
Thanks for clarifying superbonzo. If I understand it right, the map class is for parsing the description file. First I need to study the class more in depth.
But the C solution would be easier for...
April 12th, 2013, 03:46 AM
Seems to me, I've described the whole problem wrong. :-/ Sorry for that.
On the bus you transmit and receive LIN messages in this simplified form:
ID (1byte), Data (2 - 4 - 8 bytes lenght...
April 11th, 2013, 11:45 PM
You hit the nail S_M_A. We have a CANoe from VECTOR, but as you mentioned, its not really the cheapest one... and for some simpler tasks, where someone just needs to track the bus, its to complicated...
April 11th, 2013, 01:07 PM
thank you very much for your reply. I'm not a C++ programmer. Can you be more specific regarding your example?
Lets say you receive on the bus the following message:
April 11th, 2013, 09:15 AM
Thanks for your reply, superbonzo, but your code snippet is not applicable. We have to separate the problem into two sections.
1) the application itsefl, which is able just to print out some text -...
April 10th, 2013, 11:42 PM
Thanks for the reply, S_M_A.
Actually we have some sort of file with the frame descriptions, but imagine this:
You receive a message, according to the ID you identify the frame. So you have to go...
April 10th, 2013, 12:06 PM
here is my problem description:
I receive messages over a bus. Suppose there is a function to read the messages storing them into a struct defined as follows:
September 20th, 2012, 02:15 PM
Ahhh, thanks. So there is no other choice then to use the preprocessor directive #define. Is there a way, how to use the enum? Because it would simplify the whole ID management... :-)
September 20th, 2012, 01:51 PM
Hi, I got a problem with a resource file. In my *.rc file I've defined a menu:
MAINMENU MENU DISCARDABLE
August 18th, 2012, 10:52 AM
Ok, thanks for showing me the direction. I'll dig deeper and then come back later with another questions. :-)
August 18th, 2012, 06:09 AM
This is what I needed to know. Thanks for that. The scripting language will be for the "end" user, who will just call the functions he needs and set some parameters. Can you describe more in detail,...
August 18th, 2012, 06:04 AM
This was just an idea. We are still in progress, what we need and how should it look. The main task is to simplify the programming to the "end" user, which is interested only in setting some timers...
August 17th, 2012, 09:00 AM
This is something, what bothers me. How to link the controls in a running program.
So u suggest not to use the win32 for GUI and then try to link the controls with an arbitrary code? I should use...
August 17th, 2012, 06:06 AM
Sorry for that, it should be fixed. :-)
Ok, I get it and as I mentioned, this was just a try. But can you help, how should this be done? Is there some "tutorial" or inspiration, how to make...
August 17th, 2012, 04:24 AM
Ok, here is my approach, see code:
/* Declare Windows procedure */
August 17th, 2012, 02:28 AM
We got a piece of HW from National Instruments, which allows us to communicate through PC with an external device connected to the NI HW. We want to make some sort of program - editor,...
July 23rd, 2012, 12:08 AM
Hey, you don't have to be sorry. You helped me really much. As you said, I've to experiment with it a little bit more and take it as a fact.
The first thing I thought the mapping mode it is...
July 20th, 2012, 07:00 AM
I've read all the articles and it was really interesting, thank you for that. I'm still little bit confused of it. Even when I'm using the default mapmode MM_TEXT, there is the viewport and the...
July 20th, 2012, 04:33 AM
thanks, I've read few articles, but still I'm confused. Thanks for the links, I'll check it and hopefully it will help. I'm not prgramming in MFC.
July 20th, 2012, 03:23 AM
I've stumbled on the window and viewport problematic and I don't get it. My first thoughts were, I got a client area, where I set the viewport (size of the viewport and coordinates of the...
Click Here to Expand Forum to Full Width