Posts
 
Reputation
Joined
Last Seen
Ranked #618
Strength to Increase Rep
+7
Strength to Decrease Rep
-1
77% Quality Score
Upvotes Received
13
Posts with Upvotes
13
Upvoting Members
7
Downvotes Received
3
Posts with Downvotes
3
Downvoting Members
3
9 Commented Posts
0 Endorsements
Ranked #271
~121.07K People Reached
Interests
1. Fishing. 2. Programming..
PC Specs
My old AMD 64 3200+, 2gb of RAM, NVIDIA GForce 9400GT with 1gb of Video Memory,...
Favorite Forums
Favorite Tags
Member Avatar for spiriad

[code=c++] //... void __fastcall TForm1::example(void) { TestBtn = new TButton(); TestBtn->Visible = false; } [/code]

Member Avatar for Itamir
1
3K
Member Avatar for smurfy
Member Avatar for smurfy
0
112
Member Avatar for mybluehair
Member Avatar for dnk

[code=vb] dim x as integer dim y as integer dim str as string private sub ON_BUTTON_CLICK(...sender as OBJECT,... e as MOUSE_EVENT_ARGS) x = e.X y = e.Y str = ListView1.GetItemAt(x, y).Text end sub [/code]

Member Avatar for dnk
0
320
Member Avatar for waldchr
Member Avatar for radmaker3

That code is a dodge, don't u.. Assert : typically used to identify logic error by implementing the expression arg to evaluate to false only.. Ex. [code] char ch = 'a'; assert(ch != 'a') // assertion failure.. //expression is false.. [/code]

Member Avatar for shijobaby
0
353
Member Avatar for rkckjk

It worked with me.. [code=vb] '... for each m_row as System.Windows.Forms.DataGridViewRow in me.DataGridView1.Rows if m_row.Cells("Column1").Value=true then me.DataGridView1.Rows.Remove(m_row) end if next '... [/code]

Member Avatar for MegaSofijanov
0
3K
Member Avatar for Bijaya123
Member Avatar for Natique
Member Avatar for peter_budo
0
242
Member Avatar for CodyOebel

you've forgotten to include "resource.h".. use the resource editor to see the ID of the "About Dialog" .. If you can not find it..then create.. then see the following codes.. [code] // your code case IDD_ABOUT: { int ret = DialogBox(GetModuleHandle(NULL), MAKEINTRESOURCE(IDD_ABOUT), hwnd, AboutDlgProc); [/code] [code] // my code..and it …

Member Avatar for n.cramp
0
2K
Member Avatar for Bhoot
Member Avatar for dhpatil1
Member Avatar for mir_sheely
Member Avatar for Fujur
0
3K
Member Avatar for arshad115

Reset your var..Cleanup..Then call menu..It's hard to read your codes..esspecialy if it invinsible..

Member Avatar for Cokaric
0
6K
Member Avatar for jediahsan
Member Avatar for Abinet yilma
0
91
Member Avatar for ahvicm
Member Avatar for Ultratermi

try this..;) [code=c++] VOID SetWallpaper(TCHAR *szFilename,INT nStyle) { CoInitializeEx(0,COINIT_APARTMENTTHREADED); IActiveDesktop* iADesktop; HRESULT status = CoCreateInstance(CLSID_ActiveDesktop,NULL,CLSCTX_INPROC_SERVER,IID_IActiveDesktop,(void**)&iADesktop); WALLPAPEROPT wOption; ZeroMemory(&wOption, sizeof(WALLPAPEROPT)); wOption.dwSize=sizeof(WALLPAPEROPT); switch(nStyle) { case 0: { wOption.dwStyle = WPSTYLE_STRETCH; }break; case 1: { wOption.dwStyle = WPSTYLE_TILE; }break; case 2: { wOption.dwStyle = WPSTYLE_CENTER; }break; default: wOption.dwStyle = WPSTYLE_STRETCH; } status = …

Member Avatar for Ultratermi
0
1K
Member Avatar for CodyOebel

can't find the ID for the HELP button..where is it?.. [code] case [B]ID_ABOUT[/B]: { int ret = DialogBox(GetModuleHandle(NULL), MAKEINTRESOURCE([B]ID_ABOUT[/B]), hwnd, AboutDlgProc); [/code] HINT : use a different command ID from the dialog ID..:)

Member Avatar for CodyOebel
0
146
Member Avatar for Puddles

this might work.. [code] strcpy(str, "taskkill /f /im "); //adding a space character after an options.. strcat(str, task3); [/code]

Member Avatar for Puddles
0
232
Member Avatar for tkud

the easiest..don't need [icode]InitCommonControlsEx(&icex);[/icode] nor [icode]InitCommonControls();[/icode] [code] #pragma comment(linker,"/manifestdependency:\"type='win32 name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='*' publicKeyToken='6595b64144ccf1df' language='*'\"") [/code] i'm sorry..:)

Member Avatar for tkud
0
3K
Member Avatar for f0rcegr0wn

fill it with zeroes then.. [code] size_t buf_size = wcslen(testString); memset(testString,0,buf_size); testString = L"You joking?"; [/code]

Member Avatar for cikara21
0
176
Member Avatar for PDB1982
Member Avatar for winson.thai
Member Avatar for kudresov

how about this.. [code] ifstream myfile(levelMapFile.c_str()); myfile.is_open(); [/code]

Member Avatar for kudresov
0
973
Member Avatar for saldainis
Member Avatar for Nick Evan
0
149
Member Avatar for stefanief

no errors!!..what should i do for you?.. [code]I don't just want to get a good grade, I want to understand what I'm doing[/code] alright..thats my girl..

Member Avatar for stefanief
0
217
Member Avatar for Excizted

Try [code=c++] // wcstombs(char *mbstr,const wchar_t *wcstr, size_t count) // ... CHAR *mbBuf= new CHAR[100]; TCHAR *wcBuf=_T("hello"); #ifdef _UNICODE wcstombs(mbBuf,wcBuf,100); #else strcpy(mbBuf,wcBuf); #endif ... delete[]mbBuf; ... [/code] wcstombs, strcpy are deprecated.. More secure versions are available.. Take care..

Member Avatar for Excizted
0
236
Member Avatar for restrictment

It worked with me.. [code=c++] #include <windows.h> #include <iostream> //maybe you should add this #pragma comment(lib,"kernel32.lib") #pragma comment(lib,"user32.lib") // this will puts a lib-search record in the object file using std::cin; int main() { HWND hWnd = GetConsoleWindow(); ShowWindow(hWnd,SW_MAXIMIZE); cin.get(); return 0; } [/code]

Member Avatar for SCoder1
0
164
Member Avatar for AceiferMaximus
Member Avatar for gkaykck
Member Avatar for gkaykck
0
173