Click here to Skip to main content
16,011,757 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: How can I draw scrollbar created by WS_VSCROOL in non-client area myseft Pin
Joaquín M López Muñoz6-Mar-02 6:05
Joaquín M López Muñoz6-Mar-02 6:05 
GeneralSizing CSplitterWnd columns Pin
Mark Donkers6-Mar-02 3:10
Mark Donkers6-Mar-02 3:10 
GeneralTeach me,come in please! Pin
big20026-Mar-02 3:08
big20026-Mar-02 3:08 
GeneralRe: Teach me,come in please! Pin
Mazdak6-Mar-02 3:25
Mazdak6-Mar-02 3:25 
QuestionHow can I draw scrollbar created by WS_VSCROOL in non-client area myseft Pin
Wizard_016-Mar-02 3:08
Wizard_016-Mar-02 3:08 
AnswerRe: How can I draw scrollbar created by WS_VSCROOL in non-client area myseft Pin
Tomasz Sowinski6-Mar-02 3:19
Tomasz Sowinski6-Mar-02 3:19 
GeneralRe: I hate to do this but, i just got one more question... Pin
Mark Donkers6-Mar-02 2:58
Mark Donkers6-Mar-02 2:58 
GeneralRe: I hate to do this but, i just got one more question... Pin
Joaquín M López Muñoz6-Mar-02 3:04
Joaquín M López Muñoz6-Mar-02 3:04 
Well, as you already know, rand returns a randoum bumber between 0 and RAND_MAX. Usually it is more useful to have a random double uniformly distributed between 0 and 1, by evaluating (double)rand()/RAND_MAX. From here to a random integer number between 1 and 10 it is just simple arithmetic. Caveat: take into account the small (but actual) probability that (double)rand()/RAND_MAX yields exactly 1.0. In these cases the standard trick is to rerun the numer generation.

Joaquín M López Muñoz
Telefónica, Investigación y Desarrollo
GeneralRe: I hate to do this but, i just got one more question... Pin
Christian Graus6-Mar-02 10:26
protectorChristian Graus6-Mar-02 10:26 
GeneralRe: I hate to do this but, i just got one more question... Pin
SilverShalkin6-Mar-02 12:11
SilverShalkin6-Mar-02 12:11 
GeneralRe: I hate to do this but, i just got one more question... Pin
Christian Graus6-Mar-02 21:13
protectorChristian Graus6-Mar-02 21:13 
Generaldamn CSocket ! Pin
Mauricio Ritter6-Mar-02 0:35
Mauricio Ritter6-Mar-02 0:35 
GeneralRe: damn CSocket ! Pin
Nish Nishant6-Mar-02 0:46
sitebuilderNish Nishant6-Mar-02 0:46 
GeneralRe: damn CSocket ! Pin
Mauricio Ritter6-Mar-02 0:53
Mauricio Ritter6-Mar-02 0:53 
GeneralRe: damn CSocket ! Pin
Nish Nishant6-Mar-02 1:34
sitebuilderNish Nishant6-Mar-02 1:34 
GeneralRe: damn CSocket ! Pin
Tomasz Sowinski6-Mar-02 1:56
Tomasz Sowinski6-Mar-02 1:56 
GeneralRe: damn CSocket ! Pin
Nish Nishant6-Mar-02 2:00
sitebuilderNish Nishant6-Mar-02 2:00 
GeneralRe: damn CSocket ! Pin
Tomasz Sowinski6-Mar-02 2:09
Tomasz Sowinski6-Mar-02 2:09 
GeneralRe: damn CSocket ! Pin
Nish Nishant6-Mar-02 2:13
sitebuilderNish Nishant6-Mar-02 2:13 
GeneralRe: damn CSocket ! Pin
Mauricio Ritter6-Mar-02 2:00
Mauricio Ritter6-Mar-02 2:00 
GeneralRe: damn CSocket ! Pin
Nish Nishant6-Mar-02 2:07
sitebuilderNish Nishant6-Mar-02 2:07 
GeneralRe: damn CSocket ! Pin
Mauricio Ritter6-Mar-02 3:36
Mauricio Ritter6-Mar-02 3:36 
GeneralRe: damn CSocket ! Pin
Christopher Duncan6-Mar-02 16:55
Christopher Duncan6-Mar-02 16:55 
GeneralRe: damn CSocket ! Pin
Nish Nishant6-Mar-02 1:38
sitebuilderNish Nishant6-Mar-02 1:38 
GeneralRe: damn CSocket ! Pin
Mauricio Ritter6-Mar-02 1:59
Mauricio Ritter6-Mar-02 1:59 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.