Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
60% Quality Score
Upvotes Received
1
Posts with Upvotes
1
Upvoting Members
1
Downvotes Received
1
Posts with Downvotes
1
Downvoting Members
1
0 Endorsements
Ranked #4K
~8K People Reached
Favorite Tags
Member Avatar for risa
Member Avatar for risa

I have Tabctrl in a dialog.I want to set its background colour for each tab .I tried ON_WM_DRAWITEM but the control never comes in OnDrawItem().Can you help? #define RED RGB(255,0,0) #define YELLOW RGB(255,255,0) #define MAGENTA RGB(255,0,255) #define WHITE RGB(255,255,255) #define BLUE RGB(0,0,255) void CVMListDialog::OnDrawItem(int nIDCtl, LPDRAWITEMSTRUCT lpdis) { CDialog::OnDrawItem(nIDCtl, lpdis); …

Member Avatar for Laiq Ahmed
0
2K
Member Avatar for risa

Hi, How to set background image of CTreeCtrl? And also how can i set different colours to different items of CtreeCtrl?

Member Avatar for hawash
0
218
Member Avatar for risa

Hi, How to remove OK and Cancel button of propertysheet? And also how to remove tiltle bar of propertysheet just showing the tabs of property pages?

Member Avatar for Ancient Dragon
0
50
Member Avatar for risa

hi,,, i am getting memory leaks in my application when i use winhttp functions like WinHttpGetIEProxyConfigForCurrentUser(),WinHttpOpen(),,,,and many others,,,,,how to deal with it???

Member Avatar for Salem
0
473
Member Avatar for risa

How can i prevent a dialog closing by Alt+F4 ? I am using PreTranslateMessage(),,,,what is the Virtual key #define for Alt+F4 or is there any other way?,,,,thank you

Member Avatar for mitrmkar
0
238
Member Avatar for risa

Hi, How to insert a combox to a column of list ctrl in MFC?....such tht i can select a particular item from a list of items in the combo box of list ctrl column....plz help

Member Avatar for Nick Evan
0
91
Member Avatar for risa

hi, I get a crash as "Unhandled exception at 0x5f4335bb (MFC42D.DLL) in VMFirewall.exe: 0xC0000005: Access violation reading location 0x00000000." in D:\Program Files\Microsoft Visual Studio 8\VC\atlmfc\src\mfc\appmodul.cpp in _tWinMain() funtion at call of AfxWinMain(hInstance, hPrevInstance, lpCmdLine, nCmdShow); This crash is in both debug and release....i have tried ignore of mfc42D.lib and mfcs42d.lib....but …

Member Avatar for risa
0
388
Member Avatar for risa

String functions like strcpy,strcat,itoa...shows warning as "declared deprecated" in Visual Studio 8.0 instead it suggests to use functions which are enhanced secure versions of the same such as strcpy_s,strcat_s,_itoa_s.....using this in my file removes those warnings but i am using this same file in visual studio 6.0 here it gives …

Member Avatar for risa
0
3K
Member Avatar for risa

How to close dialog box if it doesnt hav OK and CANCEL Button in windows programming.the dialog box is shown with DoModal which inturn calls onInitDialog().But how to close it ?does EndDialog hepls and how ?where to call EndDialog?

Member Avatar for Anitaj
0
215
Member Avatar for risa

MapFileAndCheckSum returns CHECKSUM_MAPVIEW_FAILURE(Could not map a view of the file) for file of size 758MB and above.For size upto 757MB it returns CHECKSUM_SUCCESS(normal behaviour).What is the meaning of this error?how to solve it?is there any file size limit to calculate checksum..............i want to calculate checksum upto 1.0GB/2.0GB

0
87
Member Avatar for risa

hi, whenever std::string is assigned to another std::string its giving me a memory leak,why is it so....generally std::string's destructor takes care of freeing it.......can anybody help me wht to do to avoid this type of memory leak...???

Member Avatar for mitrmkar
0
166
Member Avatar for risa

I did HANDLE hHeap = GetProcessHeap(); which gives me the handle to the heap of the process then i did DWORD dsize = 468178553; (near pointer)PBYTE pBuffer = (LPBYTE)HeapAlloc(hHeap, 0, size); but here i got pBuffer as NULL and then i did _stprintf( (TCHAR*)pBuffer,"", , ,); here my program crashes.............may …

Member Avatar for risa
0
780
Member Avatar for risa

Scenario: I hav set a timer using SetTimer(),after timeout my application gets a WM_TIMER and it exits. I Want: to pause this timer before a particular process and again restart it when the process gets over,so tht there is no timeout during this process and my application doesnt exit during …

Member Avatar for Ancient Dragon
0
252
Member Avatar for ridhimasatam