Click here to Skip to main content
15,890,947 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Capture non-client mouse click on sizable window Pin
«_Superman_»2-Sep-09 17:29
professional«_Superman_»2-Sep-09 17:29 
GeneralRe: Capture non-client mouse click on sizable window Pin
Darryl Bryk3-Sep-09 9:29
Darryl Bryk3-Sep-09 9:29 
GeneralRe: Capture non-client mouse click on sizable window Pin
«_Superman_»3-Sep-09 17:08
professional«_Superman_»3-Sep-09 17:08 
GeneralRe: Capture non-client mouse click on sizable window Pin
Darryl Bryk4-Sep-09 5:26
Darryl Bryk4-Sep-09 5:26 
QuestionHow to disable control animation, combobox Pin
Moak2-Sep-09 9:58
Moak2-Sep-09 9:58 
AnswerRe: How to disable control animation, combobox Pin
Code-o-mat2-Sep-09 11:46
Code-o-mat2-Sep-09 11:46 
GeneralRe: How to disable control animation, combobox Pin
Moak2-Sep-09 14:11
Moak2-Sep-09 14:11 
AnswerRe: How to disable control animation, combobox Pin
Randor 2-Sep-09 11:51
professional Randor 2-Sep-09 11:51 
Hei Moak,

See if this works:

COMBOBOXINFO cbi = {sizeof(COMBOBOXINFO)};
if(GetComboBoxInfo(&cbi))
{
	HWND hwndListBox = cbi.hwndList;
	LRESULT lNum = SendMessage(CB_GETCOUNT,0,0);
	LRESULT lWidth = SendMessage(CB_GETDROPPEDWIDTH,0,0);
	LRESULT lHeight = SendMessage(CB_GETITEMHEIGHT,0,0);
	::SetWindowPos(cbi.hwndList,0,0,0,lWidth,lNum+1 * lHeight,SWP_NOMOVE | SWP_NOOWNERZORDER | SWP_FRAMECHANGED);
}

GeneralRe: How to disable control animation, combobox Pin
Moak2-Sep-09 14:02
Moak2-Sep-09 14:02 
GeneralRe: How to disable control animation, combobox Pin
Randor 2-Sep-09 15:00
professional Randor 2-Sep-09 15:00 
GeneralRe: How to disable control animation, combobox Pin
Moak2-Sep-09 15:17
Moak2-Sep-09 15:17 
GeneralRe: How to disable control animation, combobox Pin
Randor 2-Sep-09 15:23
professional Randor 2-Sep-09 15:23 
GeneralRe: How to disable control animation, combobox Pin
Code-o-mat2-Sep-09 20:34
Code-o-mat2-Sep-09 20:34 
QuestionHow to dispatch WM_LBUTTONDOWN message after calling ReleaseCapture()? Pin
includeh102-Sep-09 8:48
includeh102-Sep-09 8:48 
AnswerRe: How to dispatch WM_LBUTTONDOWN message after calling ReleaseCapture()? Pin
Stuart Dootson2-Sep-09 9:07
professionalStuart Dootson2-Sep-09 9:07 
GeneralRe: How to dispatch WM_LBUTTONDOWN message after calling ReleaseCapture()? Pin
includeh103-Sep-09 7:45
includeh103-Sep-09 7:45 
Questionchar char[] variables help Pin
egerving2-Sep-09 8:26
egerving2-Sep-09 8:26 
AnswerRe: char char[] variables help Pin
Iain Clarke, Warrior Programmer2-Sep-09 8:47
Iain Clarke, Warrior Programmer2-Sep-09 8:47 
AnswerRe: char char[] variables help Pin
Stuart Dootson2-Sep-09 9:01
professionalStuart Dootson2-Sep-09 9:01 
AnswerRe: char char[] variables help Pin
Randor 2-Sep-09 9:09
professional Randor 2-Sep-09 9:09 
AnswerRe: char char[] variables help Pin
David Crow2-Sep-09 9:50
David Crow2-Sep-09 9:50 
AnswerRe: char char[] variables help Pin
egerving2-Sep-09 11:31
egerving2-Sep-09 11:31 
AnswerRe: char char[] variables help Pin
Joe Woodbury2-Sep-09 17:11
professionalJoe Woodbury2-Sep-09 17:11 
QuestionSecurity Access Functions Pin
Richard Andrew x642-Sep-09 7:28
professionalRichard Andrew x642-Sep-09 7:28 
AnswerRe: Security Access Functions Pin
Stuart Dootson2-Sep-09 8:17
professionalStuart Dootson2-Sep-09 8:17 

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.