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

Search:

Type: Posts; User: PRMARJORAM

Page 1 of 4 1 2 3 4

Search: Search took 0.02 seconds.

  1. Replies
    2
    Views
    4,279

    Re: Views Tabs and Splitters

    Hi Victor,

    I dont think thats quite what I want...

    Yes that would give me a tab with a split view, but I want a childframe with two tabs, in each tab is two views with a splitter, these views...
  2. Replies
    2
    Views
    4,279

    Views Tabs and Splitters

    Hi,

    We know a document can have multiple views, if we want to display these views simultaneously using the doc/view model then
    we can use splitters embedded in the ChildFrame or tabs using the...
  3. Replies
    1
    Views
    2,786

    CTabbedView Composition

    Good afternoon,

    Im experimenting with 2008 feature pack.

    Basically I want to use a CTabbedView but within some of the tabs I want multiple views with splitters. Now it seems can only add a...
  4. Re: Hosting Winforms UserControl in CDialog focus problem

    Lol, thats the conclusion I am coming too. Mixing different technologies in practice is full of problems not documented.

    I still feel its something small but its like the needle in the haystack...
  5. Re: Hosting Winforms UserControl in CDialog focus problem

    Ok, Well Iv posted it there too.
    But I feel the solution will be via setting some extended styles or something from with the native parent client app. Thats why I posted it there.

    Note:...
  6. Hosting Winforms UserControl in CDialog focus problem

    Hi,

    Im having a problem with focus hosting a winforms usercontrol within an MFC App via a CDialog.
    As described in this article
    http://msdn.microsoft.com/en-us/library/b1kyh79x.aspx

    The...
  7. Re: Hosting Winforms UserControl in CDialog focus problem

    Well apart from im calling it from a native C++ MFC App?
    So really needs to be in both threads?
    Can it be copied into the other as well?

    Im assuming the problem is to do with the native client...
  8. Re: Hosting Winforms UserControl in CDialog focus problem

    System.Windows.Forms.dll!System.Windows.Forms.NativeWindow.DefWndProc(ref System.Windows.Forms.Message m = {System.Windows.Forms.Message}) + 0x93 bytes
    ...
  9. Hosting Winforms UserControl in CDialog focus problem

    Hi,

    Im having a problem with focus hosting a winforms usercontrol within an MFC App via a CDialog.
    As described in this article
    http://msdn.microsoft.com/en-us/library/b1kyh79x.aspx

    The...
  10. Replies
    3
    Views
    4,020

    Re: User events and Timers

    I think I may have found a neat solution for this problem.

    The problem being after one a dialog was closed - what follows can be - many database writes enclosed within a transaction.
    I...
  11. Replies
    3
    Views
    4,020

    Re: User events and Timers

    Yes I had only just come to a similar conclusion. Its very much a multi-threading type problem.

    Most dialogs do not have a common class other than CDialog. So it would seem its going to be alot...
  12. Replies
    3
    Views
    4,020

    User events and Timers

    I have an MFC application where periodically a windows timer interrupt occurs and it reads some data from a database for monitoring purposes

    When a user event occurs such as displaying a modal...
  13. Replies
    12
    Views
    6,358

    Re: What to do when OnInitDialog fail

    I totally agree with what your saying and where it matters this is exactly how iv done it, all data access is via DAO interface or ABC.

    Its just in this instance it was not really necessary to do...
  14. Replies
    12
    Views
    6,358

    Re: What to do when OnInitDialog fail

    Yes i could have done that, but again seems like extra work, more thinking of the general case. potentially in another scenario could be a larger list, which would mean having to create a structure...
  15. Replies
    12
    Views
    6,358

    Re: What to do when OnInitDialog fail

    Thats too much solution for me, dont want to introduce threads for something so trivial. Its only a small list, under normal circumstances they would never see the progress message. Even with a...
  16. Replies
    12
    Views
    6,358

    Re: What to do when OnInitDialog fail

    Problem for me is im adding items to a ListControl from a database, so cannot do this in constructor as listcontrol windows not created yet, seems these are created once OnInitDialog is called, but i...
  17. Replies
    1
    Views
    3,776

    Re: CInternetSession connection problems

    Ok, the above was a bit obscure, but worth a shot
    I came to the conclusion that there was a indirect problem. In fact if I just loop through the URLS
    then no timeouts no problem. I managed to...
  18. Replies
    1
    Views
    3,776

    CInternetSession connection problems

    Hi,

    Im having a recurring problem with CInternetSession OperURL

    Im looping through a collection of URLS and downloading these pages.

    On ocassion I get genuine errors like timeouts etc and it...
  19. IID_IHTMLDocument2 get_innerText no line breaks

    Im downloading webpages via CInternetSession

    Im then passing them into a IHTMLDocument2 instance
    see this article
    http://www.codeproject.com/KB/IP/parse_html.aspx

    I then get the body element...
  20. Replies
    2
    Views
    3,908

    Re: Disable image file download in CHTMLView

    Yes this is true im already doing that in a different context.

    But in this context i need to display the webpage. Again, Is there anyway i can instruct the browser control to not download...
  21. Replies
    2
    Views
    3,908

    Disable image file download in CHTMLView

    I know its possible to switch off image download, disable scripts etc from within the internet options although this is then applied to all browser sessions.

    What i would like to do is disable...
  22. Replies
    16
    Views
    15,882

    Re: Writing UNICODE CString to SQLServer UCS-2

    Thanks again CodePlug.

    You just provide the same codepage parameter(1251 cyrillic, in this instance)
    but convert back to ASCII.
  23. Replies
    16
    Views
    15,882

    Related problem

    I have a related problem now.

    Initially im downloading the bytes for this webpage into a char array as in:
    char buffer[2000];
    while(count = mSourceFile->Read( buffer, 2000 - 1)){
    ...
  24. Replies
    16
    Views
    15,882

    Re: Writing UNICODE CString to SQLServer UCS-2

    CodePlug you are a hero!

    It was all down to that N.

    Thanks for everyone's help in resolving this difficult issue.

    If i had put something like 'sqlserver unicode string constant' into google...
  25. Replies
    16
    Views
    15,882

    Re: Writing UNICODE CString to SQLServer UCS-2

    As I understand I am using the latest version of MDAC 2.8 SP1 on WINDOWS XP SP3
    via component checker

    I have found one other thread where they seemed to be having the same issue...
Results 1 to 25 of 78
Page 1 of 4 1 2 3 4





Click Here to Expand Forum to Full Width

Featured