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

Search:

Type: Posts; User: npuleio

Page 1 of 4 1 2 3 4

Search: Search took 0.03 seconds.

  1. Binding from a XML file to UserControl through DependencyProperty

    Hello everyone,



    I am making a sample application test with WPF creating some UserControls to increase maintainability.

    In this way I created a toolbar usercontrol where I put a combobox...
  2. Replies
    0
    Views
    5,317

    clr-namespace and loadFromResource

    Hello everyone!!

    I made a WPF example with a class in a .cs file... I am using a namespace CurrentProject {...} but when I add in MainWindow1.xaml this:...
  3. Replies
    4
    Views
    3,070

    Re: [MFC] PolyLine and autoscrolling canvas

    Hello everyone!!!!

    No suggest or hint on my last question?...

    Thanks in advance,
    Ciao
    Luigi
  4. Replies
    4
    Views
    3,070

    Re: [MFC] PolyLine and autoscrolling canvas

    Hello again ProgramArtist,

    I've figured about "drawing" a PolyLine graphic on the canvas but I have this doubt: is the PolyLine compatible with MM_ANISOTROPIC and rescaling automatically graphic...
  5. Replies
    5
    Views
    2,283

    Re: [MFC] vector-shift-left

    HI cilu.... I'm implementing a MFC DLL and I have vectors... i'm using VisualStudio 2008... so thanks to Philip Nicoletti for the std::rotate() hint...

    btw, Philip, your last name sounds...
  6. Replies
    5
    Views
    2,283

    [MFC] vector-shift-left

    Hello everyone!!!....

    I have a vector of n elements, and I'd want to shift it left, is there maybe a function that does it?...
    Like I have for example:

    1;2;3;4;5;6

    after shifting left I...
  7. Replies
    4
    Views
    3,070

    Re: [MFC] PolyLine and autoscrolling canvas

    HI ProgramArtist,

    first, thank you for your reply...
    What I'm making is a CWnd class component that will be integrated in another application which will pass some data. I'm thinking about a DLL...
  8. Replies
    4
    Views
    3,070

    [MFC] PolyLine and autoscrolling canvas

    Hello everyone!!!!

    I'm creating a task manager's-like-scroll-graphic.
    So for this I was thinking to create a vector of vectors of values, where the main vector is to draw more sources, and...
  9. Replies
    5
    Views
    4,633

    Re: [MFC] counting application's instances

    VictorN, no I meant like if I execute more times the same MyApp.exe...

    Anyway I solved with that function Blackspectrum posted, it's what I was looking for... :-)

    Ciao,
    Luigi

    P.S.: really...
  10. Re: [MFC] Event handler in a class without tool controls

    Uhm.... thanks to both you but I think this solution is good for single independent variables...

    In my case indeed lets suppose to have:



    struct MY_STRUCT {
    int m_variable1;
    ...
  11. [MFC] Event handler in a class without tool controls

    Hello everyone!!!!

    I have a class with an external structure like:



    struct MY_STRUCT {
    int m_variable1;
    int m_variable2;
    bool m_variable3;
  12. Replies
    5
    Views
    4,633

    Re: [MFC] counting application's instances

    Thanks Blackspectrum, I tried that GetProcessCount example you showed out and it was exactly what I wanted! Thanks again :-)

    Ciao,
    Luigi
  13. Replies
    5
    Views
    4,633

    [MFC] counting application's instances

    Hello everyone!

    I'd need to count how many instances of my own application are actually running...how I could do that?... I tried with GetProcessHandleCount() giving as first parameter this:
    ...
  14. Re: [MFC] DDX/DDV and DoDataExchange between nested PropertySheets

    HI Arjay and everyone,

    do you know if there's a way to handle the check box's cbutton state change event?...
    I mean, I have an initial setting of a checkbox from a bool variable using a...
  15. Replies
    12
    Views
    2,839

    Re: c++ recursive class

    Ah sorry.... now I understand... I shall implement also documentTinyXML::Node(..) when actually I implemented only documentTinyNode()...

    I guess that member documentTinyXML::Node() should be...
  16. Replies
    12
    Views
    2,839

    Re: c++ recursive class

    Ehm... isn't implemented in prova_tinyxmlDlg.cpp almost at begin of the file?....
  17. Replies
    12
    Views
    2,839

    Re: c++ recursive class

    Sorry I forgot something to attach in the package source... here the correct attachment test example... as you can see there are in the .cpp implementations of GetAttribute, SetAttribute and...
  18. Replies
    12
    Views
    2,839

    Re: c++ recursive class

    Here the attachment for smallest and simplest demo application which at Button1 click should read the xml file and show in the edit box its value and instead I get this error:
    ...
  19. Replies
    12
    Views
    2,839

    Re: c++ recursive class

    Ah sorry.... I typed wrong... I wanted to say in fact



    class B : public xmlnode
    {
    public:
    B(xmlnode* member);

    LPCSTR getattribute(....);
  20. Replies
    12
    Views
    2,839

    Re: c++ recursive class

    Yes I just forgot to say I implemented in the CPP file:



    xmlnode* xmlnode::Node(LPCSTR nodename, LPCSTR attributenodename,
    LPCSTR
    attributetosearch)
    {
    ....
  21. Replies
    12
    Views
    2,839

    c++ recursive class

    Hello everyone!!!

    I'd need a little hint on this little question:

    I have a xml file I want to navigate and I have a library to process
    it. But I want also to manage that file as an object to...
  22. Re: [MFC] DDX/DDV and DoDataExchange between nested PropertySheets

    Hello Arjay,

    in this case, unfortunately I need to have those three levels because they are options of options...something like: if I choose this option then I have to choose between three...
  23. Re: [MFC] DDX/DDV and DoDataExchange between nested PropertySheets

    Hello Victor and Arjay,

    I have three nested levels of Propertysheets... I need to make active by code a page in another sheet which is in another page.... how I could do that?....

    Thanks in...
  24. [MFC] Enable/Disable all controls in propertypages

    Hello everyone!!

    I'd like to enable/disable all controls in some propertypages and I thought for this solution put in a common header included in all propertypages to avoid duplication code and...
  25. Re: [MFC] DDX/DDV and DoDataExchange between nested PropertySheets

    Hello Victor and Arjay,

    I have to measure with those magic numbers (1, 5, 8, 10, 15, 80,...) because there's always a space to fit it...
    Anyway if you have a good suggest to fit sheets and pages...
Results 1 to 25 of 84
Page 1 of 4 1 2 3 4





Click Here to Expand Forum to Full Width

Featured