Click here to Skip to main content
15,917,568 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Disassembler for IBM PC (SoftIce) Pin
BhaskarBora30-Jun-03 2:49
BhaskarBora30-Jun-03 2:49 
GeneralCreateService() Hangs Pin
vlvl29-Jun-03 23:42
vlvl29-Jun-03 23:42 
GeneralProblem about "SetTimer" function Pin
TERRY_LUK200329-Jun-03 23:17
TERRY_LUK200329-Jun-03 23:17 
GeneralRe: Problem about "SetTimer" function Pin
Dominik Reichl30-Jun-03 0:50
Dominik Reichl30-Jun-03 0:50 
GeneralRas connection statistics Pin
no_body6929-Jun-03 23:02
no_body6929-Jun-03 23:02 
GeneralRe: Ras connection statistics Pin
Dominik Reichl30-Jun-03 0:54
Dominik Reichl30-Jun-03 0:54 
GeneralRe: Ras connection statistics Pin
no_body6930-Jun-03 1:01
no_body6930-Jun-03 1:01 
QuestionHow To Create a Non Rectangular Control Pin
Vikrant Vikrant29-Jun-03 21:48
Vikrant Vikrant29-Jun-03 21:48 
Hey Friends
I wish to Create a control just like Shape Control available in Visual Basic.It will be possible to Change its Shape and relocate to some other location.It should be visible properly.
I Tried Inheriting a Class From CWnd and Providing Body to OnPaint But the areas which i do not paint do not get updated and show the Background which looks Bad.
Pl Suggest.Will Regions Solve the Problem ?
Sample Code
void CShapeCtrl::OnPaint()
{
CPaintDC dc(this); // device context for painting
CRect rRect;
CBrush br;
GetClientRect(&rRect);
br.CreateSolidBrush(RGB(255,0,0));
dc.Rectangle(&rRect);
if(!m_bShapeSet)
{
HRGN hRgn;
rRect.DeflateRect(5,5);
hRgn = ::CreateEllipticRgnIndirect(&rRect);
SetWindowRgn(hRgn,TRUE);
m_bShapeSet = TRUE;
}
}

AnswerRe: How To Create a Non Rectangular Control Pin
Ryan Binns29-Jun-03 23:29
Ryan Binns29-Jun-03 23:29 
GeneralOnInitialUpdate() is not invoked... Pin
Radha Nair29-Jun-03 21:02
Radha Nair29-Jun-03 21:02 
General[win32]ListView doesn't generate VK_RETURN Pin
Melekor29-Jun-03 20:04
Melekor29-Jun-03 20:04 
GeneralRe: [win32]ListView doesn't generate VK_RETURN Pin
Ryan Binns29-Jun-03 20:40
Ryan Binns29-Jun-03 20:40 
GeneralRe: [win32]ListView doesn't generate VK_RETURN Pin
Rage29-Jun-03 21:15
professionalRage29-Jun-03 21:15 
GeneralRe: [win32]ListView doesn't generate VK_RETURN Pin
Ryan Binns29-Jun-03 21:19
Ryan Binns29-Jun-03 21:19 
GeneralRe: [win32]ListView doesn't generate VK_RETURN Pin
User 665829-Jun-03 22:59
User 665829-Jun-03 22:59 
GeneralRe: [win32]ListView doesn't generate VK_RETURN Pin
Ryan Binns29-Jun-03 23:31
Ryan Binns29-Jun-03 23:31 
GeneralRe: [win32]ListView doesn't generate VK_RETURN Pin
Melekor30-Jun-03 7:08
Melekor30-Jun-03 7:08 
GeneralRe: [win32]ListView doesn't generate VK_RETURN Pin
Ryan Binns30-Jun-03 14:44
Ryan Binns30-Jun-03 14:44 
GeneralRe: [win32]ListView doesn't generate VK_RETURN Pin
JT Anderson1-Jul-03 12:20
JT Anderson1-Jul-03 12:20 
GeneralRe: [win32]ListView doesn't generate VK_RETURN Pin
Melekor1-Jul-03 13:06
Melekor1-Jul-03 13:06 
GeneralRe: [win32]ListView doesn't generate VK_RETURN Pin
JT Anderson1-Jul-03 13:41
JT Anderson1-Jul-03 13:41 
GeneralRe: [win32]ListView doesn't generate VK_RETURN Pin
Melekor2-Jul-03 8:06
Melekor2-Jul-03 8:06 
GeneralRe: [win32]ListView doesn't generate VK_RETURN Pin
JT Anderson2-Jul-03 8:19
JT Anderson2-Jul-03 8:19 
Generalusing StgOopenStorageEx.. to know type of the file Pin
pnpfriend29-Jun-03 11:08
pnpfriend29-Jun-03 11:08 
GeneralRe: using StgOopenStorageEx.. to know type of the file Pin
pnpfriend1-Jul-03 5:23
pnpfriend1-Jul-03 5:23 

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.