Click here to Skip to main content
15,889,780 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralWM_CTLCOLORLISTBOX Pin
V.G15-Nov-04 21:11
V.G15-Nov-04 21:11 
GeneralRe: WM_CTLCOLORLISTBOX Pin
pubududilena15-Nov-04 21:40
pubududilena15-Nov-04 21:40 
GeneralAlgorithm for generating Alphanumeric characters Pin
Mythri.B.L15-Nov-04 20:40
Mythri.B.L15-Nov-04 20:40 
GeneralRe: Algorithm for generating Alphanumeric characters Pin
DaFrawg15-Nov-04 20:50
DaFrawg15-Nov-04 20:50 
GeneralRe: Algorithm for generating Alphanumeric characters Pin
David Crow16-Nov-04 3:00
David Crow16-Nov-04 3:00 
GeneralDDK Pin
snthomas15-Nov-04 20:01
snthomas15-Nov-04 20:01 
GeneralRe: DDK Pin
DaFrawg15-Nov-04 20:34
DaFrawg15-Nov-04 20:34 
Generalabout floating keyboard Pin
Tripura.K15-Nov-04 18:11
Tripura.K15-Nov-04 18:11 
Hello ,
I have a ownerdraw button on a dialog box which is created in an SDI application where buttons are members of dialog class and when evet i click the button i want the keyboard key event to be generated and that caracter should be displayed on the client area what should i do in sent message for this
for example if i have A on my button when ever user clicks that button keyboards keyevent should generate and that should be passed and displayed on editview area
i have a the function
void MyDialog::OnButton49()
{
/* unsigned char arr[256];
int i= GetKeyboardType(1);
GetKeyboardState(arr);
GetKeyNameText(49,"a",1);
//GetKeyboardLayoutList(
GetLastError();*/
// this->GetParent()->SendMessage(WM_PAINT,nRepCnt,nFlags);
//SetKeyboardState(;
//Get
// int i=GetKeyState(49);
// if(i==1)
GetParent()->SendMessage(WM_CAPTURECHANGED,49,1);

//n_butFlag=49;
}
like this for displaying 'a' on in my dialog class

Request to all to continue this
GeneralRe: about floating keyboard Pin
DaFrawg15-Nov-04 20:48
DaFrawg15-Nov-04 20:48 
GeneralHandling Files in Visual C++ Pin
shanil8015-Nov-04 18:09
shanil8015-Nov-04 18:09 
GeneralRe: Handling Files in Visual C++ Pin
shiraztk15-Nov-04 23:57
shiraztk15-Nov-04 23:57 
GeneralRe: Handling Files in Visual C++ Pin
krmed16-Nov-04 0:53
krmed16-Nov-04 0:53 
GeneralRe: Handling Files in Visual C++ Pin
David Crow16-Nov-04 3:04
David Crow16-Nov-04 3:04 
GeneralRe: Handling Files in Visual C++ Pin
shanil8019-Nov-04 3:12
shanil8019-Nov-04 3:12 
GeneralRe: Handling Files in Visual C++ Pin
David Crow19-Nov-04 3:56
David Crow19-Nov-04 3:56 
GeneralRe: Handling Files in Visual C++ Pin
shanil8019-Nov-04 17:27
shanil8019-Nov-04 17:27 
GeneralRe: Handling Files in Visual C++ Pin
David Crow22-Nov-04 2:33
David Crow22-Nov-04 2:33 
Generalload image fail Pin
vc-programmer-15-Nov-04 18:00
vc-programmer-15-Nov-04 18:00 
GeneralRe: load image fail Pin
pubududilena15-Nov-04 20:31
pubududilena15-Nov-04 20:31 
GeneralRe: load image fail Pin
namaskaaram15-Nov-04 21:44
namaskaaram15-Nov-04 21:44 
GeneralRe: load image fail Pin
vc-programmer-15-Nov-04 21:59
vc-programmer-15-Nov-04 21:59 
GeneralRe: load image fail Pin
namaskaaram15-Nov-04 22:26
namaskaaram15-Nov-04 22:26 
GeneralTreeviw control and Unicode Pin
Alpha Siera15-Nov-04 17:46
Alpha Siera15-Nov-04 17:46 
GeneralHelp Pin
James198515-Nov-04 16:14
James198515-Nov-04 16:14 
GeneralRe: Help Pin
ThatsAlok15-Nov-04 23:10
ThatsAlok15-Nov-04 23:10 

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.