The OK button by standard is the default button. You might want to change that too. Wolfgang Reichl
W
WoR
@WoR
Posts
-
Why does a MFC Dialog ding? -
Interesting Question on DLL...use class* as a parameter../??I don't really have a lot of experience in this field, but I think using a second set of dll's for the different classes (one for each class you want to use) should do the job (passing the current class-dll-name to your dll, which dynamically loads it). Exporting classes form dll's is documented in some postings on codeguru and codeproject). Wolfgang
-
** Random Number Generator **Hi Steve, A standard procedure for this problem is to generate a sequence 1..n and pemutate these numbers randomly (n log n times should do the job). This is efficient if you want to access a certain number of items mutliple times. Wolfgang