Click here to Skip to main content
15,798,508 members

Kuldip Rindani - Professional Profile


    Blog RSS
VC++, MFC, COM, Unix Shell Scripts
Linux Kernel Development


Weekly Data. Recent events may not appear immediately. For information on Reputation please see the FAQ.


Members need to achieve at least one of the given member levels in the given reputation categories in order to perform a given action. For example, to store personal files in your account area you will need to achieve Platinum level in either the Author or Authority category. The "If Owner" column means that owners of an item automatically have the privilege. The member types column lists member types who gain the privilege regardless of their reputation level.

ActionAuthorAuthorityDebatorEditorEnquirerOrganiserParticipantIf OwnerMember Types
Have no restrictions on voting frequencysilversilversilversilver
Bypass spam checks when posting contentsilversilversilversilversilversilvergoldSubEditor, Mentor, Protector, Editor
Store personal files in your account areaplatinumplatinumSubEditor, Editor
Have live hyperlinks in your profilebronzebronzebronzebronzebronzebronzesilverSubEditor, Protector, Editor
Have the ability to include a biography in your profilebronzebronzebronzebronzebronzebronzesilverSubEditor, Protector, Editor
Edit a Question in Q&AsilversilversilversilverYesSubEditor, Protector, Editor
Edit an Answer in Q&AsilversilversilversilverYesSubEditor, Protector, Editor
Delete a Question in Q&AYesSubEditor, Protector, Editor
Delete an Answer in Q&AYesSubEditor, Protector, Editor
Report an ArticlesilversilversilversilverSubEditor, Mentor, Protector, Editor
Approve/Disapprove a pending ArticlegoldgoldgoldgoldSubEditor, Mentor, Protector, Editor
Edit other members' articlesSubEditor, Protector, Editor
Create an article without requiring moderationplatinumSubEditor, Mentor, Protector, Editor
Approve/Disapprove a pending QuestionProtector
Approve/Disapprove a pending AnswerProtector
Report a forum messagesilversilverbronzeProtector, Editor
Approve/Disapprove a pending Forum MessageProtector
Have the ability to send direct emails to members in the forumsProtector
Create a new tagsilversilversilversilver
Modify a tagsilversilversilversilver

Actions with a green tick can be performed by this member.

GeneralTrick to instantiate/initialize a static object the first time it's used. Pin
Kuldip Rindani13-Jul-12 3:21
Kuldip Rindani13-Jul-12 3:21 
GeneralCreating a Application wide Message hook to peek into all messages. Pin
Kuldip Rindani12-Jul-12 22:15
Kuldip Rindani12-Jul-12 22:15 
GeneralDraw a Bitmap transparent Pin
Kuldip Rindani12-Jul-12 22:00
Kuldip Rindani12-Jul-12 22:00 
GeneralAvoiding Multiple instance of Application to start Pin
Kuldip Rindani21-Mar-12 22:15
Kuldip Rindani21-Mar-12 22:15 
GeneralTruncate Log file in Sql server for reclaiming diskspace Pin
Kuldip Rindani24-Mar-09 22:04
Kuldip Rindani24-Mar-09 22:04 
GeneralHow to Switch View - MFC Pin
Kuldip Rindani20-Jan-09 1:12
Kuldip Rindani20-Jan-09 1:12 
BOOL CMViewApp::SwitchView(CRuntimeClass *pNewView, int nRowView, int nColView)
CFrameWnd* pMainWnd = (CFrameWnd*)AfxGetMainWnd();
// CView* pOldActiveView = pMainWnd->GetActiveView();
CView* pOldActiveView = (CView *)((CMainFrame *)pMainWnd)->m_wndSplitter.GetPane(nRowView, nColView);
CDocument* pCurrentDoc = ((CFrameWnd*)m_pMainWnd)->GetActiveDocument();

CSplitterWnd* pSplitter = (CSplitterWnd *)pOldActiveView->GetParent();
//int row, col;
ASSERT(pSplitter->IsChildPane(pOldActiveView, nRowView, nColView));
CRect viewrect;

// set flag so that document will not be deleted when view is destroyed
m_bAutoDelete = FALSE;

// Delete existing view

// Create new view
CCreateContext context;
context.m_pNewViewClass = pNewView;
context.m_pCurrentDoc = pCurrentDoc;
context.m_pNewDocTemplate = NULL;
context.m_pLastView = NULL;
context.m_pCurrentFrame = NULL;
if (!pSplitter->CreateView(nRowView, nColView, pNewView, viewrect.Size(),
return FALSE; //error occured,

pMainWnd->InitialUpdateFrame(pCurrentDoc, TRUE);

// Set active
CView* pNewViewClass = (CView *)pSplitter->GetPane(nRowView, nColView);


return TRUE;

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.