Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

0 Endorsements
~1K People Reached
This member's community profile is only visible to logged in members until they have earned 15 reputation points.
Favorite Forums

11 Posted Topics

Member Avatar for sabareesh

Hai all, I want to "re-enable" the stick without unplugging and plugging the stick again. How can i do this please help me for this. now i did some coding for get the device information. Thanking you

Member Avatar for sabareesh
0
80
Member Avatar for sabareesh

[CODE] // for get info from document class strText = pDoc->GetText(); lfFont = pDoc->GetFontInfo(); clrNew = pDoc->GetColorInfo(); // get size GetClientRect(&rcPoint); //// create the font VERIFY(fntNew.CreateFontIndirect(&lfFont)); // create font CFont* fntOld = pDC->SelectObject(&fntNew); // set text color pDC->SetTextColor(clrNew); // for display text pDC->DrawText(strText, strText.GetLength(), &rcPoint,0 ); // delete font fntOld->DeleteObject(); …

Member Avatar for sabareesh
0
86
Member Avatar for sabareesh

DrawText with specified Color and Font For that what property i want to use in DrawText Methord? [CODE]// // pDC Client device GetClientRect(&rcPoint); //// create the font VERIFY(fntNew.CreateFontIndirect(&lfFont)); // create font CFont* fntOld = pDC->SelectObject(&fntNew); // set text color pDC->SetTextColor(clrNew); // for display text pDC->DrawText(strText, strText.GetLength(), &rcPoint,0 ); // delete …

0
57
Member Avatar for sabareesh
Member Avatar for mitrmkar
0
68
Member Avatar for sabareesh

// Edit window property case WM_CREATE: hwndEdit = CreateWindow (TEXT ("edit"), NULL, WS_CHILD | WS_VISIBLE | WS_VSCROLL | ES_LEFT | ES_MULTILINE | ES_AUTOVSCROLL, 0, 0, 0, 0, hwnd, (HMENU) EDITID,(HINSTANCE) GetWindowLong(hwnd, GWL_HINSTANCE), NULL); **word wrap calling** case ID_FORMAT_WORDWRAP: bFlag = !GetCheckedState(GetMenu(hwnd), ID_FORMAT_WORDWRAP, TRUE); if (bFlag) { SendMessage(hwndEdit, EM_SETWORDBREAKPROC, (WPARAM) 0, …

0
94
Member Avatar for sabareesh

String operator+(const String &s) Here String is a class. here why we are using ampersand operator? please explain me.(&s ?)

Member Avatar for sabareesh
0
188
Member Avatar for sabareesh

[CODE]void String::operator+=( String &pData) { int nLen = 0; // for store length of string // check string is null or not if(pData.m_pText != NULL) { // length of string nLen = (int) strlen(pData.m_pText); } // Total string length int nTotLen = m_nLength + nLen; //object of string class String …

Member Avatar for sabareesh
0
152
Member Avatar for sabareesh

I created a dyanamic array through malloc() function. (size is 1024) next time i want to change buffersize as 500 . how can do this?

Member Avatar for sabareesh
0
96
Member Avatar for sabareesh

class CShape { // store serial number public: static int mnSerialNum; // constructor CShape(); // function declaration virtual int getSerialNum(); // create virtual pure function virtual double Area(double dWidth, double dHeight) = 0; virtual double Perimeter(double dWidth, double dHeight) = 0; virtual void DisplayClassName(); }; error LNK2001: unresolved external symbol …

Member Avatar for sabareesh
0
234
Member Avatar for sabareesh

// find new size nNewArraySize = StrNewSizeForCharReplace(pszString, pszFindString, pszReplaceString); // nNewArry size is 1063 // alllocate memory pszTemp= (unsigned char*)malloc(nNewArraySize + 1); // add 1063 character in to pszTEmp // 1063 nLength = strlen(pszTEmp) // length is 1063 free(pszTemp); // Heap memory exception How can remove this exception

Member Avatar for Ancient Dragon
0
139
Member Avatar for sabareesh

// function declaration char* operator LPCTSTR(); // defenition char* String::operator LPCTSTR() { char* szArry = NULL; szArry[1024]; reurn(szArry); } how we can create a LPCTSTR string class member function in c++

Member Avatar for Ancient Dragon
0
242

The End.