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

Search:

Type: Posts; User: grahamr (work)

Page 1 of 14 1 2 3 4

Search: Search took 0.03 seconds.

  1. View Post

    After a bit of discussion (and a quick test-hack) late friday afternoon, between myself and my boss it has been decided to make a simple DLL which the client can call, which was my original choice...
  2. View Post

    Once the app has completed initialising - on return from OnInitDialog, it sends an inter thread message with the hwnd as the lParam. This then decides via the command line options which mode we are...
  3. View Post

    Yes. The App starts another thread which simulates the button presses. Not a great way of doing it but easier than rewriting huge swathes of it.
    The code contained within...
  4. View Post

    It's a branding issue. The client wants his front-end to run but use our software for the heavy lifting.


    Because the code was already written and working and simply making it run headless seemed...
  5. View Post

    I have a propertysheet-based program, originally developed to be interactive, which has been cobbled together to make it headless on a client's machine. The program is to be started by a program of...
  6. Re: More Automate dialog app

    Manage to find the answer - you need to override the ON_WM_WINDOWPOSCHANGING message.
  7. [RESOLVED] More Automate dialog app

    I am in need of assistance again.

    I automated a small app that was never designed to be automated via a thread. To hide it I had it call a function that moved the window off-screen.

    However...
  8. Replies
    1
    Views
    931

    Programmatically change combobox

    I need to update a combobox with a new value so it changes the reflected text in it. The cleanest way to do this is after the combobox has been initialised and with a message.

    So I am trying to...
  9. Replies
    2
    Views
    508

    Re: Linking Issues (VC6)

    Spot on.

    Where were you on Friday afternoon?!
  10. Replies
    2
    Views
    508

    [RESOLVED] Linking Issues (VC6)

    This is making me feel like a real noob. I've opened an old workspace that is a libray and its test harness. It used to work fine and older versions of the code don't work either with the same...
  11. Replies
    2
    Views
    445

    Re: Continuously updating tool tips

    Okay. Thinking about it overnight, I've come to the conclusion that I maybe looking at it from the wrong angle.

    The graph updates based on the OnTimer function call. Therefore I should update the...
  12. Replies
    2
    Views
    445

    Continuously updating tool tips

    Is there a correct way of continuously updating tool-tips?

    I've got a graph which is constantly updating and scrolling from right to left. The OnMouseMove sets a trackmouseevent to fire on hover...
  13. Replies
    27
    Views
    1,381

    Re: Assignment on function

    But since you can do assignments on operator() - it was I who was doing it wrong - [][] becomes a bit of a mute point and a lot more hassle than two functions.

    Though I would concede the point...
  14. Replies
    27
    Views
    1,381

    Re: Assignment on function

    Yep.
  15. Replies
    27
    Views
    1,381

    Re: Assignment on function

    That is a whole lot closer to what I was talking about - makes the code a whole lot more readable, no?
  16. Replies
    27
    Views
    1,381

    Re: Assignment on function

    My abbreviated class:

    const int cols = 4;
    const int rows = 4;

    class matrix
    {
    public:
    float m[16]; // m[col][row] -- same as opengl
  17. Replies
    27
    Views
    1,381

    Re: Assignment on function

    I thought it was fairly clear from my first post as to what I was referring to, irrespective whether my code is right or wrong.
  18. Replies
    27
    Views
    1,381

    Re: Assignment on function

    Does it matter what it is? It doesn't change the fact that using () to index into the array doesn't allow assignment (or I can't use assignment).
  19. Replies
    27
    Views
    1,381

    Re: Assignment on function

    float m[16];
  20. Replies
    27
    Views
    1,381

    Re: Assignment on function

    I thought column-major layout is
    [0 4 8 12]
    [1 5 9 13]
    [2 6 10 14]
    [3 7 11 15]

    G.
  21. Replies
    27
    Views
    1,381

    Re: Assignment on function

    Okay. How about setting up and identity matrix in the constructor?
    for ( int col=0; col<cols; col++ )
    {
    for ( int row=0; row<rows; row++ )
    m( col, row ) = 0.0f;
    m( col, row ) = 1.0f;...
  22. Replies
    27
    Views
    1,381

    Re: Assignment on function

    Well apart from the fact I use float and index in using int's ours are identical.

    Actual code:
    float& operator()( const int col, const int row )
    {
    return m[( col * cols ) + row];
    }
    ...
  23. Replies
    27
    Views
    1,381

    [RESOLVED] Assignment on function

    Since you can't use [][] to access a matrix you are suggested to use () operator instead.

    However a limitation of that is you can't assign:
    m[col][row] = x; // valid
    m(col, row) = x; // invalid...
  24. Replies
    4
    Views
    584

    Re: Automate dialog app

    Would that work? I never tried that.

    In the end I created a thread that is launched at the app start. The app passes messages to the thread and the thread acts on them in a state machine if...
  25. Replies
    4
    Views
    584

    Re: Automate dialog app

    It's the internals of actually controlling the app which is the problem.
Results 1 to 25 of 345
Page 1 of 14 1 2 3 4


Azure Activities Information Page

Windows Mobile Development Center


Click Here to Expand Forum to Full Width

This is a CodeGuru survey question.


Featured


HTML5 Development Center