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

Search:

Type: Posts; User: Eri523

Page 1 of 80 1 2 3 4

Search: Search took 0.15 seconds; generated 4 minute(s) ago.

  1. Re: Convert From C# VS2010 - get_Item & set_Value in C++/CLI

    How (and where) are IProperties and Property defined? They do not seem to be part of the .NET framework.

    Can you post the original C# code you are translating?

    I can't remember any scenario,...
  2. Replies
    3
    Views
    2,929

    Re: Who does change?

    Well, if you could really distinguish somehow between code or the user making the change, wouldn't you need to check that as well in each and every event handler, just like the flag suggested by...
  3. Replies
    5
    Views
    11,324

    Re: how do i find decimal ?

    Wait... This isn't even C++/CLI, it's C#! :)
  4. Re: Receiving MIDI on 2 interfaces, merging and outputing on MIDI output

    Ok, this excerpt from MidiInProc() is a bit more informative, although it still doesn't enable me to make any conclusions about the (potential) frequency of the specific MIDI events in question. One...
  5. Re: Receiving MIDI on 2 interfaces, merging and outputing on MIDI output

    Well, I'm afraid the interesting parts of your MidiInProc() are hidden behind your "... etc". The two cases shown just do assignments of an integer value to which looks like a global variable, and...
  6. Re: Receiving MIDI on 2 interfaces, merging and outputing on MIDI output

    You are not showing any of your code, so I need to guess to some degree.

    It sounds like you are forwarding every single MIDI event in an individual Windows message. With lots of incoming events,...
  7. Replies
    2
    Views
    8,142

    Re: VB6 MS Word Font Color automation

    The identifiers starting with wd are constants defined in the Word VBA operating environment and are not known in VB6. Try to find out their concrete values in Word, for instance by using Print...
  8. Re: I can not access control of window form from another class in c++

    Ignoring the native C++ vs. C++/CLI issue for now, as well as some other problems with your code I anticipate to arise in the near future, for the sake of simplicity...

    Because it is defined in...
  9. Thread: C++ advance

    by Eri523
    Replies
    5
    Views
    15,116

    Re: C++ advance

    What's wrong with the Visual Studio IDE's Class View or Class Diagram fetures?
  10. Replies
    10
    Views
    22,137

    Re: Need help deciphering assembly code

    Well, my interpretation is that the instruction means "branch to location 2 if R1 is not zero". And based on this, I think I can now tell what the code computes, in simple high-level math terms. (......
  11. Replies
    3
    Views
    13,186

    Re: Calling over from C++ to C# with C# objects?

    You can create a Graphics from a Win32 GDI object by calling its static FromHdc() or FromHwnd() method and in turn use that to construct the PaintEventArgs. However, to be able to use an OnPaint()...
  12. Replies
    4
    Views
    12,901

    Re: Referencing application resources from XAML

    Thanks again for that tip, an appealingjy simple approach! :) However, while playing around with the test project I quickly encountered pretty much the same problems, without any real idea of a...
  13. Replies
    4
    Views
    12,901

    Re: Referencing application resources from XAML

    Thanks for your suggestion. In fact, all the image files' Build Action property in Solution Explorer was set to None, changed that to Embedded Resource. This led to approximately doubling the...
  14. Replies
    4
    Views
    12,901

    Referencing application resources from XAML

    One of my older toy development apps (ported from originally Windows Forms to WPF, but I don't think that matters) uses some bitmap resources (originally JPG and PNG files) which have been added to...
  15. Re: Wait for complete sit load in IE WebBrowser control

    There's a good chance that the URL of interest is the one you navigated to. Content hosted in frames typically is something like navigation sidebars or ads, for example.

    As far as I recall, the...
  16. Re: Wait for complete sit load in IE WebBrowser control

    Looks like the event gets fired once for each of seven frames making up your complete page. In this case, I think, you should be able to identify the frame you're actually interested in by the Url...
  17. Replies
    11
    Views
    9,044

    Re: Automate Internet Explorer

    Well, I recall from one of my own projects, that, at least sometimes, the class attribute may not be accessible via GetAttribute(), and I don't know the reason either. Can't you use any other...
  18. Replies
    11
    Views
    9,044

    Re: Automate Internet Explorer

    Not sure if that will already make it work, but your for loop limit should be Elements.Count instead of sizeof(Elements).
  19. Re: Visual C++(CLR) How to add an item to a listbox from a different form

    Your description is pretty vague and yes, it would be helpful to see your code. But you mention forward declarations, which may be a hint into the direction of a mutual inclusion problem. Regarding...
  20. Re: Refer to control in another source file

    In the meantime I had another idea: As your screen shot shows, your form is rather complex. So maybe the text box you're looking for is located in a group box. In this case, the text box is no direct...
  21. Re: Refer to control in another source file

    Sorry, I've sort of ran out of ideas regarding your issue. The next logical step for me would be to grab the code you posted, try to reconstruct you project and reproduce your problem, but I didn't...
  22. Thread: PNG screen shot

    by Eri523
    Replies
    0
    Views
    17,913

    PNG screen shot

    34871
  23. Re: Refer to control in another source file

    https://en.wikipedia.org/wiki/Instance_(computer_science) There's also a polish article about that topic (link at the left edge of the page) but it's rather short and I can't tell how good it is,...
  24. Re: Refer to control in another source file

    #pragma once does not avoid the mutual inclusion problem. In this regard, it just makes the difference between "something is already defined" errors or infinite inclusion recursion on one hane, and...
  25. Re: Refer to control in another source file

    You don't explain what the problem you're stuck on actually is, and the structural relationship between your source files isn't quite obvious, so mainly I can just give you a qualified guess. But...
Results 1 to 25 of 2000
Page 1 of 80 1 2 3 4





Click Here to Expand Forum to Full Width

Featured