Search:
Type: Posts; User: Ungi
Search:
Search took 0.19 seconds.
-
July 24th, 2003, 12:07 AM
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?
-
July 23rd, 2003, 06:15 AM
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!
-
July 22nd, 2003, 06:31 AM
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...
-
What exactly is a LaVolpeButton?
-
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...
-
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...
-
June 26th, 2003, 07:24 AM
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...
-
June 26th, 2003, 06:59 AM
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!
-
June 25th, 2003, 11:49 PM
Take a look there: http://www.codeguru.com/forum/showthread.php?s=&threadid=12906
-
June 25th, 2003, 03:03 AM
-
June 25th, 2003, 02:43 AM
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...
-
June 25th, 2003, 12:22 AM
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
-
June 25th, 2003, 12:17 AM
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...
-
March 11th, 2003, 03:52 AM
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
-
March 11th, 2003, 03:06 AM
And how should I set the parameter that indicates that it is the first call?
-
March 11th, 2003, 02:58 AM
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...
-
March 11th, 2003, 12:23 AM
Congretly I use it like that:
private sub Timer1_Timer()
Static WaitOnce As Boolean
Static InThisFunctionNotForTheFirstTime As Boolean 'initialized with false
'if first...
-
March 10th, 2003, 07:53 AM
Thank you for your reply!
I'll give it a try!
-
March 10th, 2003, 06:44 AM
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...
-
March 10th, 2003, 04:22 AM
-
March 10th, 2003, 04:15 AM
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...
-
March 10th, 2003, 03:43 AM
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...
-
February 28th, 2003, 02:43 AM
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...
-
February 25th, 2003, 12:27 AM
This is an advisory notification. A new worm is discovered! The worm is called W32/Lovgate@M!
For more Informations
-
January 10th, 2003, 07:48 AM
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...
|
Click Here to Expand Forum to Full Width
|