Click here to Skip to main content
15,896,505 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Keyboard input trouble Pin
benjymous19-Nov-02 5:21
benjymous19-Nov-02 5:21 
GeneralPassword Filter under Win2k Pin
Lhenno Ferrari19-Nov-02 2:30
Lhenno Ferrari19-Nov-02 2:30 
GeneralRe: Password Filter under Win2k Pin
benjymous19-Nov-02 3:46
benjymous19-Nov-02 3:46 
GeneralRe: Password Filter under Win2k Pin
Lhenno Ferrari20-Nov-02 1:06
Lhenno Ferrari20-Nov-02 1:06 
Generalchanging the text in tabs Pin
Luke Murray19-Nov-02 1:50
Luke Murray19-Nov-02 1:50 
GeneralRe: changing the text in tabs Pin
Roger Allen19-Nov-02 1:59
Roger Allen19-Nov-02 1:59 
GeneralRe: changing the text in tabs Pin
Luke Murray19-Nov-02 2:19
Luke Murray19-Nov-02 2:19 
GeneralRe: changing the text in tabs Pin
Roger Allen19-Nov-02 5:15
Roger Allen19-Nov-02 5:15 
OK< this will be due to the following from MSDN:

pszText
Address of a null-terminated string that contains the tab text when item information is being set. If item information is being retrieved, this member specifies the address of the buffer that receives the tab text


So your code needs to be

char mybuffer[256]; // it may need to be bigger/smaller

item.pszText = mybuffer;


As the buffer pointer will be NULL in debug (instant fail) and random in Release, may/may not work.


Roger Allen
Sonork 100.10016

I have a terminal disease. Its called life!
GeneralNeed definitions of constants for SetupDiGetDeviceRegistryProperty Pin
Dominik Reichl19-Nov-02 1:47
Dominik Reichl19-Nov-02 1:47 
GeneralRe: Need definitions of constants for SetupDiGetDeviceRegistryProperty Pin
Gary Kirkham19-Nov-02 5:01
Gary Kirkham19-Nov-02 5:01 
GeneralRe: Need definitions of constants for SetupDiGetDeviceRegistryProperty Pin
Dominik Reichl19-Nov-02 7:25
Dominik Reichl19-Nov-02 7:25 
GeneralRe: Need definitions of constants for SetupDiGetDeviceRegistryProperty Pin
Gary Kirkham19-Nov-02 11:12
Gary Kirkham19-Nov-02 11:12 
GeneralConverting text into image Pin
Shamoon19-Nov-02 0:51
Shamoon19-Nov-02 0:51 
GeneralRe: Converting text into image Pin
Miguel Lopes19-Nov-02 10:02
Miguel Lopes19-Nov-02 10:02 
Generala question about formview Pin
niuhaiyun19-Nov-02 0:41
niuhaiyun19-Nov-02 0:41 
GeneralRe: a question about formview Pin
Roger Allen19-Nov-02 1:56
Roger Allen19-Nov-02 1:56 
GeneralRe: a question about formview Pin
valikac19-Nov-02 7:28
valikac19-Nov-02 7:28 
GeneralMS Project 2002 SDK Pin
19-Nov-02 0:26
suss19-Nov-02 0:26 
Generalshutdown Pin
Anonymous19-Nov-02 0:08
Anonymous19-Nov-02 0:08 
GeneralRe: shutdown Pin
RobJones19-Nov-02 5:35
RobJones19-Nov-02 5:35 
GeneralRe: shutdown Pin
Anonymous20-Nov-02 23:36
Anonymous20-Nov-02 23:36 
QuestionDetect number of lines for an edit control? Pin
Anonymous18-Nov-02 23:47
Anonymous18-Nov-02 23:47 
AnswerRe: Detect number of lines for an edit control? Pin
Rickard Andersson2019-Nov-02 0:34
Rickard Andersson2019-Nov-02 0:34 
GeneralRe: Detect number of lines for an edit control? Pin
Anonymous19-Nov-02 0:46
Anonymous19-Nov-02 0:46 
GeneralRe: Detect number of lines for an edit control? Pin
Anonymous19-Nov-02 0:49
Anonymous19-Nov-02 0:49 

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.