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

Search:

Type: Posts; User: Cambalinho

Page 1 of 25 1 2 3 4

Search: Search took 0.04 seconds; generated 51 minute(s) ago.

  1. Replies
    5
    Views
    3,644

    Re: [win32] - creating the form super class

    i didn't show all the class, because it's very big.
    the SetProp/GetProp are API functions
  2. Replies
    5
    Views
    3,644

    Re: [win32] - creating the form super class

    hello 2kaud thanks for answer me.
    "You can't set a window property until the window has been created in the following line! You also should test RegistrClassEX() and SetProp() for return...
  3. Replies
    5
    Views
    3,644

    [win32] - creating the form super class

    i'm trying build the form super class without sucess :(

    i can't get the old procedure :(

    void setParent(HWND parent=GetDesktopWindow())
    {
    WNDCLASSEX FormClass;
    ...
  4. Re: [win32] - how can i call the WM_DRAWITEM message?

    heres what i did:


    if(KeyPressed(VK_MENU)==true) SendMessage(hButton,WM_DRAWITEM,GetDlgCtrlID(hButton),MAKEWPARAM(GetDlgCtrlID(hButton),BN_PUSHED));

    but isn't working :(
    please tell me more
  5. Re: [win32] - how can i call the WM_DRAWITEM message?

    "wParam Specifies the identifier of the control that sent the WM_DRAWITEM message. If the message was sent by a menu, this parameter is zero."
    i belive you mean the ID... but how i get the ID?
    ...
  6. [win32] - how can i call the WM_DRAWITEM message?

    i'm trying call the wm_drawitem message without sucess :(


    if(KeyPressed(VK_MENU)==true) SendMessage(hButton,WM_DRAWITEM,NULL,NULL);
    what i'm doing wrong?
  7. Re: about virtual functions and polymorphism

    so is there anyway for create functions in base, and change the behavior(if i need) in derived class without re-declare them?
  8. Re: about virtual functions and polymorphism

    class a
    {
    public:
    virtual void print(){};

    };

    class b: public a
    {
  9. about virtual functions and polymorphism

    if we do a virtual functions(polymorphism) why we need re-declare the functions(when we create a new class derived from other)?
  10. Replies
    5
    Views
    472

    Re: [VB6] - how mask the textbox?

    but seems not be updated, when i 'scrool' the records using the Data control :(
  11. Replies
    5
    Views
    472

    Re: [VB6] - how mask the textbox?

    you have right. but now i'm rebuild the function for just 1 function, but i continue with errors :(

    Private Function FormatText(Text As String) As String
    Dim i As Long
    Dim newstring As...
  12. Replies
    5
    Views
    472

    [VB6] - how mask the textbox?

    i'm building a data base program, using the data control. but the mask edit control isn't updated(only when i execute the program). so i'm trying transform the textbox for use these mask: "AA-AA-AA"...
  13. Re: [win32] - how change the STATIC text alignment?

    but maybe you have right, because it can move the last word to the next line.
    thanks for all
  14. Re: [win32] - how change the STATIC text alignment?

    i have tested the both:
    SS_CENTERIMAGE: put the text in vertical center way;
    SS_RIGHTJUST: seems not justify the text, but put the text on left :(
  15. Re: [win32] - how change the STATIC text alignment?

    sorry, your code maybe my control hide it.
    heres the code working fine:

    void setTextAlignment(int textalignment)
    {
    intTextAlignment=textalignment;
    LONG_PTR new_style=0;
    ...
  16. Re: [win32] - how change the STATIC text alignment?

    the problem isn't that(i have tested)... please see my 's' variable
  17. [RESOLVED] [win32] - how change the STATIC text alignment?

    i did these code like the Border and the Border works fine... but the text alignment isn't changed :(

    void setTextAlignment(int textalignment)
    {
    long s;
    ...
  18. Re: [RESOLVED] [C++11] - can avoid the class use the array operator?

    lol maybe sometimes.... lol
    but i need some help, i don't know everything... the books never tell us everything.
    but honestly i must say thanks to all, inclued you, for try help me so much. and i...
  19. Re: [C++11] - can avoid the class use the array operator?

    i get your point ;)
    seems that i must see what i can do for arrays ;)
    thanks for all
  20. Re: [C++11] - can avoid the class use the array operator?

    imagine that label class that i'm doing... it's a control.
    normaly you can do: label a[2];
    can i avoid that? maybe doing the overloading empty?


    void operator[](label &labelinstance)
    {
    ...
  21. Replies
    6
    Views
    486

    Re: my own property code

    "Why didn't you copy the std::function members?"
    because they are dependent of 'this' class... so how can i avoid that?
  22. [RESOLVED] [C++11] - can avoid the class use the array operator?

    imagine these simple class:

    class test
    {
    public:
    void write(string a)
    {
    cout << a;
    }
    };
  23. Replies
    6
    Views
    486

    Re: my own property code

    i fix that...
    the problem(see just the main() code) was that i used instance 'b' but changes on instance 'a'(like 'b' be aponted to 'a').
    i did a Copy Construtctor, in the test class, for avoid...
  24. Re: [RESOLVED] [win32] - strange effect with mouse leave and mouse enter in cyle way

    these type of loop can't be resolved, unless i avoid use mouse leave or mouse enter when autosize is true ;)
  25. Re: [win32] - strange effect with mouse leave and mouse enter in cyle way :(

    when i move the mouse(enter) the text is changed and if the autosize is true resize the control. depending on control size and if we don't move the mouse, these effect will happen in cyle.
    thanks...
Results 1 to 25 of 607
Page 1 of 25 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