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

Search:

Type: Posts; User: HellMaster22

Search: Search took 0.02 seconds.

  1. Re: Dialog like Window for settings parameters

    Victor, thank you for the grid control, this led me to the following page of interesting dialog:

    http://www.codeproject.com/Articles/38168/Win32-SDK-Data-Grid-View-Made-Easy

    and one important...
  2. Re: Dialog like Window for settings parameters

    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...
  3. Re: Dialog like Window for settings parameters

    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...
  4. Dialog like Window for settings parameters

    Hi guys,

    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...
  5. Re: "Creating variable" on runtime? - message decoding

    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...
  6. Re: "Creating variable" on runtime? - message decoding

    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...
  7. Re: "Creating variable" on runtime? - message decoding

    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...
  8. Re: "Creating variable" on runtime? - message decoding

    Hi Paul,

    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:

    ID 10
    Length 4...
  9. Re: "Creating variable" on runtime? - message decoding

    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 -...
  10. Re: "Creating variable" on runtime? - message decoding

    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...
  11. "Creating variable" on runtime? - message decoding

    Hi guys,

    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:

    typedef struct
    {
    ...
  12. Replies
    4
    Views
    2,227

    Re: Resources and enum

    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... :-)
  13. Replies
    4
    Views
    2,227

    Resources and enum

    Hi, I got a problem with a resource file. In my *.rc file I've defined a menu:



    #include "resources.h"
    #include "afxres.h"

    MAINMENU MENU DISCARDABLE
    BEGIN
    POPUP "&File"
  14. Replies
    11
    Views
    1,143

    Re: My own "editor"

    Ok, thanks for showing me the direction. I'll dig deeper and then come back later with another questions. :-)
  15. Replies
    11
    Views
    1,143

    Re: My own "editor"

    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,...
  16. Replies
    11
    Views
    1,143

    Re: My own "editor"

    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...
  17. Replies
    11
    Views
    1,143

    Re: My own "editor"

    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...
  18. Replies
    11
    Views
    1,143

    Re: My own "editor"

    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...
  19. Replies
    11
    Views
    1,143

    Re: My own "editor"

    Ok, here is my approach, see code:



    #include <windows.h>
    #include "MyFce.h"

    //#define DEBUG

    /* Declare Windows procedure */
  20. Replies
    11
    Views
    1,143

    My own "editor"

    Hi guys,

    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,...
  21. Replies
    5
    Views
    2,274

    Re: Win32 API mapping system

    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...
  22. Replies
    5
    Views
    2,274

    Re: Win32 API mapping system

    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...
  23. Replies
    5
    Views
    2,274

    Re: Win32 API mapping system

    Hi,

    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.

    Thanks
  24. Replies
    5
    Views
    2,274

    Win32 API mapping system

    Hello,

    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...
Results 1 to 24 of 24





Click Here to Expand Forum to Full Width

Featured