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

Search:

Type: Posts; User: Ungi

Page 1 of 24 1 2 3 4

Search: Search took 0.19 seconds.

  1. Replies
    4
    Views
    1,113

    But I think that is not logical. "123" is a...

    But I think that is not logical.

    "123" is a String, why shouldn't it be the key to an entry of my collection with the index 4711?
  2. Replies
    4
    Views
    1,113

    I got it!

    It's described in following MSDN Articel: "Q204054: PRB: Error 35603 "Invalid Key" with TreeView or ListView Control"

    It says that the key must not be numeric!
  3. Replies
    4
    Views
    1,113

    Dynamical creation of Buttonmenu

    I have a curious problem:

    I will first post the code and then I will explain you the problem:



    Public Sub BuildButtonMenu(Button As MSComctlLib.Button)
    'creates a buttonmenu with all...
  4. Thread: "esc" unable

    by Ungi
    Replies
    5
    Views
    878

    What exactly is a LaVolpeButton?

    What exactly is a LaVolpeButton?
  5. Thread: "esc" unable

    by Ungi
    Replies
    5
    Views
    878

    You said that you have two buttons: an OK Button...

    You said that you have two buttons: an OK Button and a Cancel Button.

    If you open the properties window of the Cancel button you will find a property called "Cancel" with the value false. if you...
  6. Thread: "esc" unable

    by Ungi
    Replies
    5
    Views
    878

    Set the Cancel -property of the "Cancel"-key to...

    Set the Cancel -property of the "Cancel"-key to true and the code of the Button_Click Event is executed when ESC is pressed.

    It's simmilar to the Default -property. The code is executed if the...
  7. Replies
    5
    Views
    2,142

    But there must be a possibility to get the...

    But there must be a possibility to get the interface of COM-Objects.

    If you have installed the Microsoft Visual Studio there is a tool called OLE/COM Object Viewer. This tool shows you all...
  8. Replies
    5
    Views
    2,142

    I also don't understand this thing. But as I...

    I also don't understand this thing.
    But as I understand it is only for COM Objects (implementation of IUnknown and so on). So you are not able to get the Interfaces of all DLLs!
  9. Take a look there:...

    Take a look there: http://www.codeguru.com/forum/showthread.php?s=&threadid=12906
  10. Replies
    10
    Views
    8,226

    Const GA_ROOT = 2

    Const GA_ROOT = 2
  11. Replies
    7
    Views
    1,665

    Yes you are right, the initialize and terminate...

    Yes you are right, the initialize and terminate are not real construktors, but class modules are also not really object oriented. (And the old discussion restarts...)

    But initialize is called when...
  12. Replies
    10
    Views
    8,226

    Use SetWindowPos API! Public Const...

    Use SetWindowPos API!



    Public Const SWP_NOMOVE = 2
    Public Const SWP_NOSIZE = 1
    Public Const FLAGS = SWP_NOMOVE Or SWP_NOSIZE
    Public Const HWND_TOPMOST = -1
    Public Const HWND_NOTOPMOST = -2
  13. Replies
    7
    Views
    1,665

    Create a class module. There you could use...

    Create a class module.

    There you could use the class_initialize for the constructor and class_terminate as destructor.

    The only (big) problem is, that you are not able to pass parameters to...
  14. Replies
    16
    Views
    6,437

    Thank you!! That's really a good alternation....

    Thank you!!

    That's really a good alternation. If I'm not on the wrong way in this case it is either possible to "reset" the function! That's good! :D
  15. Replies
    16
    Views
    6,437

    And how should I set the parameter that indicates...

    And how should I set the parameter that indicates that it is the first call?
  16. Replies
    16
    Views
    6,437

    Yes, but in this case I have to care outside if I...

    Yes, but in this case I have to care outside if I call the function for the first time. But I am not able to care, because it is an event triggered by a timer.

    But thank you all for your...
  17. Replies
    16
    Views
    6,437

    Congretly I use it like that: private sub...

    Congretly I use it like that:



    private sub Timer1_Timer()
    Static WaitOnce As Boolean
    Static InThisFunctionNotForTheFirstTime As Boolean 'initialized with false

    'if first...
  18. Replies
    16
    Views
    6,437

    Thank you for your reply! I'll give it a try!

    Thank you for your reply!
    I'll give it a try!
  19. Replies
    16
    Views
    6,437

    Yes, I also thought at it, but it is not a very...

    Yes, I also thought at it, but it is not a very nice stil of programming. What do I have static variable for if I am not able to initialize them?

    Perhaps someone could help me in this case...
  20. Replies
    16
    Views
    6,437

    Is this really defined?

    Is this really defined?
  21. Replies
    16
    Views
    6,437

    Case 1: HasBeenRun is global That was also a...

    Case 1: HasBeenRun is global
    That was also a thought of me but in this case I could also make my static variable global.

    Case 2: HasBeenRun is a static variable in the same sub
    Who could tell me...
  22. Replies
    16
    Views
    6,437

    initialize static variables in a sub

    Hallo all!

    I have a problem.

    I have a sub with a static boolean variable. The first time the sub is called the variable should be initialized with true.

    How could this be achived?

    It...
  23. Replies
    2
    Views
    833

    If you are looking for the interface of the dll...

    If you are looking for the interface of the dll just take a look into the objectbrowser in the Menu View/ObjectBrowser. There you are able to select the dll and you could see each class of the dll...
  24. Replies
    0
    Views
    790

    MEDIUM ON WATCH - W32/Lovgate@M

    This is an advisory notification. A new worm is discovered! The worm is called W32/Lovgate@M!


    For more Informations
  25. Thread: Who not to clone

    by Ungi
    Replies
    80
    Views
    7,543

    Poll: It was a synonym for Jackson. A chameleon is an...

    It was a synonym for Jackson. A chameleon is an animal that often changes the color in dependence to the background. Like Jackson changes his appearence.

    OOOPs have to go home... Have a nice...
Results 1 to 25 of 578
Page 1 of 24 1 2 3 4





Click Here to Expand Forum to Full Width

Featured