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 24 1 2 3 4

Search: Search took 0.03 seconds.

  1. Replies
    5
    Views
    195

    Re: [VB6] - how mask the textbox?

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

    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...
  3. Replies
    5
    Views
    195

    [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"...
  4. 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
  5. 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 :(
  6. 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;
    ...
  7. Re: [win32] - how change the STATIC text alignment?

    the problem isn't that(i have tested)... please see my 's' variable
  8. [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;
    ...
  9. 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...
  10. 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
  11. 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)
    {
    ...
  12. Replies
    6
    Views
    327

    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?
  13. [RESOLVED] [C++11] - can avoid the class use the array operator?

    imagine these simple class:

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

    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...
  15. 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 ;)
  16. 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...
  17. Re: [win32] - avoid flicker and do a correct redraw

    thanks for all
  18. Re: [win32] - avoid flicker and do a correct redraw

    "An application should return nonzero if it erases the background; otherwise, it should return zero."
    so:

    case WM_ERASEBKGND:
    return true;//or even '1'... but must be diferent than '0'...
  19. [RESOLVED] [win32] - strange effect with mouse leave and mouse enter in cyle way :(

    32329
    see the image... more or less where is that arrow(pixel less pixel... sorry i can't print screen with the mouse cursor :() the Mouse Enter and Mouse Leave are executed in infinite cycle until...
  20. Re: [win32] - avoid flicker and do a correct redraw

    "The DefWindowProc function erases the background by using the class background brush specified by the hbrBackground member of the WNDCLASS structure. If hbrBackground is NULL, the application should...
  21. Replies
    6
    Views
    327

    my own property code

    i build these property code:

    template <typename T>
    class property
    {
    private:
    T PropertyValue;
    std::function<T(void)> getf;
    std::function<void(T)> setf;
    public:
  22. Re: [win32] - how get the main window inside a class? and some advices

    i see what you(both) mean. thanks for all
  23. [win32] - avoid flicker and do a correct redraw

    for resize or readraw the control i do:

    SetWindowPos(hwnd, 0, 0, 0, 0, 0,
    SWP_NOZORDER|SWP_NOMOVE|SWP_NOSIZE|SWP_NOACTIVATE|
    SWP_DRAWFRAME |...
  24. Re: [win32] - mouse move message seems not be activated :(

    after more tests i found the problem. the problem was with window and not with label. was these extended style: WS_EX_COMPOSITED.
    so i have 1 question: if the WS_EX_COMPOSITED mess with mouse move,...
  25. Re: [win32] - mouse move message seems not be activated :(

    the problem isn't learn how use the debug... you know that code you did, is advanced :(
    so i can't acomplish that so easy :(
Results 1 to 25 of 598
Page 1 of 24 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