Results 1 to 14 of 14

Thread: Call TextMatrix on external app's MSHFlexGrid

Threaded View

  1. #1

    Thread Starter
    Addicted Member Phenix's Avatar
    Join Date
    Sep 2002
    Location
    Near A Cube
    Posts
    228

    Question Call TextMatrix on external app's MSHFlexGrid

    I would like to get the text from cells in an external application's MSHFlexGrid.
    http://msdn.microsoft.com/library/de...ridcontrol.asp

    Can it be done with hooking/subclassing or another method?
    value = externalForeignAppsMSHFlexGrid.TextMatrix(rowindex, colindex)

    Edit: Below (upto post 13) may be irrelevant.

    Spy++ doesn't give me a handle for individual cells like it would for the caption of a window. So I have no WM_SETTEXT message. The only messages I see when data in a cell is updated are:
    WM_STYLECHANGING
    WM_STYLECHANGED
    WM_PAINT

    The text in the cells change colors, so I guess that's why the WM_STYLE* messages are there. Spy++ reports a point for the WM_PAINT messages and I thought those points may always be bounded by the RECT for the MSHFlexGrid, but they are not.

    Thoughts?
    Last edited by Phenix; Feb 24th, 2005 at 05:33 PM. Reason: Maybe it is an average problem
    Circa 1995
    Engineer - I think we should put our website address on our paper catalogs.
    Vice President - Don't get too excited about this internet thing.


    I am sorry, but the Oracle was mistaken. You cannot help us.
    -Matrix video game


    I'm doing a (free) operating system (just a hobby, won't be big and professional like gnu) for 386(486) AT clones. ... and it probably never will support anything other than AT-harddisks, as that's all I have :-(.
    -Linus


    Question. Do you know that the character "?" means I'm asking a question? Question. Do you know that spoken inflection also provides the same cue? So please don't say, "Question" before you ask your question. Believe me I'll know.

    That said, I would have said this first if it had to precede what I'm telling you now. Having said that, what I'm telling you now is the same thing I just said about the annoying phrases "That said" and "Having said that".


    Are you threatening me, Master Jedi?
    -Chancellor Palpatine

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width