|
As far as I see, the original post was not edited - it said "and I stress these are volounteer 'unpaid' positions".
|
|
|
|
|
Either it was edited or I'm going blind Probably the latter
Either way, it's an inappropriate post.
Ryan "Punctuality is only a virtue for those who aren't smart enough to think of good excuses for being late" John Nichol "Point Of Impact"
|
|
|
|
|
Well there's no job forum, I'm asking for coding assistance and it's C++. Seems ok to me. If our moderators would care to move it to a more relevent forum I'll be happy with that.
|
|
|
|
|
hullbreach wrote: Well there's no job forum
Yes there is. I provided you the link earlier...
Ryan "Punctuality is only a virtue for those who aren't smart enough to think of good excuses for being late" John Nichol "Point Of Impact"
|
|
|
|
|
Ryan, i refer you to Maxwell Chen's earlier post. I suggest you email an administrator if you find the post so unacceptable.
|
|
|
|
|
I add a menu to my dialog and this menu have some items. The problem is that i can't set these item to checked by SetCheck or SetRadio in UpdateCommandUI even with command like pCmdUI->SetCheck(1)
Can anyone tell me what might be the problem and how to solve it
Just a newbie
|
|
|
|
|
|
i found it not very helpful cause the sample about CCtrlbar, in my case, a new MENU that add to a dialog and ON_UPDATE_COMMAND_UI don't work. Is that an alternate way to do it?
Just a newbie
|
|
|
|
|
UpdateCommandUI (ON_UPDATE_COMMAND_UI ) does not work for menus in a dialog.
You will need to do the update manually; I'm certain there is an article on this subject somewhere on CodeProject.
Maximilien Lincourt
Your Head A Splode - Strong Bad
|
|
|
|
|
Hi Maximilien,
No (I think)its work.I saw exactly this event with one program(Dialog) but i dont know address from program and I try that write like that program but I dont know.
and Maximilien I think that problem is pCmdUI->m_pMenu that is empty
anyway
dear XStress
now I suggest use CheckMenuItem
|
|
|
|
|
Yeah, it work, and so simple. Thanks WhiteSky
Just a newbie
|
|
|
|
|
I have a CImageList...
m_image.Create(16, 16, ILC_COLOR32 | ILC_MASK, 11, 0);
If me ColorDeep is 24bit on Windows I get e black background of the Icons in the ListCtrl
If i am on the 16bit or 32bit ColorDeeop mode the Icons are all correct (with transparent/white background).
Has somebody an idea why?
A Idea how i can fix this will be perfect.
thx in advance.
Greets
Mike
|
|
|
|
|
why?
I think it's worked.
Please test this code.
CImageList *m_ImageList;
CListCtrl m_List2;
LV_ITEM Item2;
CBitmap *oriBmp;
oriBmp=new CBitmap();
oriBmp->LoadBitmap(IDB_ARROW1);
m_List2.Create(WS_CHILD|WS_VISIBLE,CRect(0,0,100,100),this,1);
m_ImageList=new CImageList();
m_ImageList->Create(14,14, ILC_COLOR24,0,0);
//m_ImageList->Create(14,14, ILC_COLORDDB,0,0);
m_ImageList->Add(oriBmp,RGB(100,105,0));
m_List2.SetImageList(m_ImageList, LVSIL_NORMAL);
Item2 .mask = LVIF_TEXT| LVIF_IMAGE| LVIF_STATE;
Item2 .iItem =0;
Item2 .iSubItem = 0;
Item2 .pszText = CA2T("test");
Item2 .iImage = 0;
Item2 .stateMask = LVIS_STATEIMAGEMASK;
Item2 .state = INDEXTOSTATEIMAGEMASK(1);
m_List2.InsertItem( &Item2);
|
|
|
|
|
Hi,
The program that I am coding(in vc++6) has a lot of edit boxes(about 15). Depending upon some input, a few edit boxes have to be disabled.
This is how I do it:
CEdit *e1;
e1 = (CEdit *) GetDlgItem(IDC_URELEASE);
e1->EnableWindow(FALSE);
Now, at some later part in the program I have to do some validation. In the validation part, I have to first check whether the edit box is enabled or disabled.
Please can you tell me how to do this.
Thanks,
Tara
Fortitudine Vinsinues!
|
|
|
|
|
CEdit m_Edit;
m_Edit.Create(WS_CHILD|WS_VISIBLE,CRect(0,0,100,100),this,1);
BOOL o=m_Edit.IsWindowEnabled();//->1
o=m_Edit.EnableWindow(0);
o=m_Edit.IsWindowEnabled();//->0
|
|
|
|
|
WOW. It worked. Thanks a billion.
Tara
Fortitudine Vinsinues!
|
|
|
|
|
In Win32 , i want to write a program can implement some function such as : Shutdown , restart , logoff ,standby . I've used ExitWindowEx function for shutdown ,restart ,lofoff ,but i can't Standby .Who know about Standby in Win32, please help me .
Thanks .
|
|
|
|
|
|
Hi!!!!!!!!!! all
i m anshu , n i m new in this field, i hv a problum , actually i made a MDI file n i m executing some exe from it. now the prob is, i hv to make that application as child for my MDI so plz if u people hv ny idia abt it plz send me information on my ID
premanshu.sinha@gmail.com
regards
premanshu sinha
Premanshu sinha
-- modified at 7:01 Monday 1st May, 2006
|
|
|
|
|
Let us consider a html page with a command button activex control.
We create a webbrowser control within our application;navigate to this url.
Next we ierate the mshtml DOM to arrive at this activex element.
Is it possible to invoke the 'onpress' event of this button programatically or via script?
We require this for a playback performance functionality in which we would be automating the manual actions(events).
|
|
|
|
|
Do you want to click one button in html page within your application ?
|
|
|
|
|
yes.i want to
1.host a browser,
2.navigate to a url,
3.load the document and then
4.click a button within it.
I am not clear on the last part of it.How do i submit html control events to a browser control without user intervention.
|
|
|
|
|
|
Hi All,
I have a splitterwnd with 3 panes. I dont want the scroll bars to come in each of the panes.How can I disable them.
Thanks in advance
Raghu
|
|
|
|
|
try SetScrollSizes(0,0)
i think it works
|
|
|
|