|
DAMN , that is funny...!
Peace!
-=- James Please rate this message - let me know if I helped or not!<hr></hr> If you think it costs a lot to do it right, just wait until you find out how much it costs to do it wrong! Remember that Professional Driver on Closed Course does not mean your Dumb Ass on a Public Road! See DeleteFXPFiles
|
|
|
|
|
Just imagine how hard I must have been laughing when I read that reply from him.
Nobody can give you wiser advice than yourself. - Cicero
.·´¯`·->Rajesh<-·´¯`·.
Codeproject.com: Visual C++ MVP
|
|
|
|
|
I could not resist trying to help out, so I tried to give him the correct link but I experienced some connectvity problems... (See my other reply to him. )
Peace!
-=- James Please rate this message - let me know if I helped or not!<hr></hr> If you think it costs a lot to do it right, just wait until you find out how much it costs to do it wrong! Remember that Professional Driver on Closed Course does not mean your Dumb Ass on a Public Road! See DeleteFXPFiles
|
|
|
|
|
Member 4655685 wrote: sorry ur link is not working
There was a typo in what he wrote. The correct link is:
http:
-=- James Please rate this message - let me know if I helped or not!<hr></hr> If you think it costs a lot to do it right, just wait until you find out how much it costs to do it wrong! Remember that Professional Driver on Closed Course does not mean your Dumb Ass on a Public Road! See DeleteFXPFiles
|
|
|
|
|
|
Michael Schubert wrote: Wasn't it http://rentzdacoderz.org[^] ?
Yes, it is just a mirror site (like codeproject.com and thecodeproject.com).
Nobody can give you wiser advice than yourself. - Cicero
.·´¯`·->Rajesh<-·´¯`·.
Codeproject.com: Visual C++ MVP
|
|
|
|
|
|
I think your link is correct ?
|
|
|
|
|
See here[^]
Nobody can give you wiser advice than yourself. - Cicero
.·´¯`·->Rajesh<-·´¯`·.
Codeproject.com: Visual C++ MVP
|
|
|
|
|
Member 4655685 wrote: yes its urgent
Wrong answer! You walked into a trap!
Seriously, there are lots of articles here about property sheets, just study them.
|
|
|
|
|
If I'm not wrong you're trying to build the UI like a Dialogbox with 3 Tabs. For that you need to make use of
CPropertyPage and
CPropertySheet class.
- Malli...!
|
|
|
|
|
If you were in need of a property sheet, see here[^]
Nobody can give you wiser advice than yourself. - Cicero
.·´¯`·->Rajesh<-·´¯`·.
Codeproject.com: Visual C++ MVP
|
|
|
|
|
|
|
i am able to encode with this alg, but i can't decoding it. So can any help me to decode the same.
Thanks
-Nandu
|
|
|
|
|
I suggest you read up on the concept of a message digest.
|
|
|
|
|
I answered to your question on the your previous post but you asked about decode? did you search youtself?
|
|
|
|
|
Put it this way... If you created an algorithm that could take an input of any size, generate from it a 128-bit value, and then recreate the original input back from it, you would revolutionalize the world of data compression and transfer.
In other words, you cannot (well, are not supposed to be able to) recreate the original input from its hash. That is the whole part of cryptographic hashes (or digests).
Peace!
-=- James Please rate this message - let me know if I helped or not!<hr></hr> If you think it costs a lot to do it right, just wait until you find out how much it costs to do it wrong! Remember that Professional Driver on Closed Course does not mean your Dumb Ass on a Public Road! See DeleteFXPFiles
|
|
|
|
|
Hi,
I have a class derived from CPropertySheet . I have added a CToolbar to this property sheet. I have repositioned the toolbar at right top corner of the property sheet.
However, the property sheet area covers the toolbar and I am able to see only some portion of the toolbar area.
How could I bring the Toolbar on top of property sheet ? (May be at the tabs level but at right side)
I have tried putting a CButton control on the property sheet and is working properly.
Please refer below code to understand the situation.
class CMyPropertySheet : public CPropertySheet
{
DECLARE_DYNAMIC(CMyPropertySheet)
public:
CMyPropertySheet(UINT nIDCaption, CWnd* pParentWnd = NULL, UINT iSelectPage = 0);
CMyPropertySheet(LPCTSTR pszCaption, CWnd* pParentWnd = NULL, UINT iSelectPage = 0);
virtual ~CMyPropertySheet();
protected:
DECLARE_MESSAGE_MAP()
private:
CButton m_Button;
CToolBar m_wndToolBar;
public:
virtual BOOL OnInitDialog();
afx_msg void OnButtonClicked();
afx_msg void OnButton1Clicked();
afx_msg void OnButton2Clicked();
void RepositionToolbars();
};
BOOL CMyPropertySheet::OnInitDialog()
{
BOOL bResult = CPropertySheet::OnInitDialog();
m_Button.Create(_T("New Button"), WS_CHILD|WS_VISIBLE|BS_PUSHBUTTON, CRect(200,0,300,20), this, ID_BUTTON_ID);
if (!m_wndToolBar.CreateEx(this, TBSTYLE_FLAT | TBSTYLE_TRANSPARENT, WS_CHILD | WS_VISIBLE | CBRS_TOP
| CBRS_GRIPPER | CBRS_TOOLTIPS | CBRS_FLYBY | CBRS_SIZE_DYNAMIC) ||
!m_wndToolBar.LoadToolBar(IDR_TOOLBAR1))
{
TRACE0("Failed to create toolbar\n");
return -1;
}
RepositionToolbars();
return bResult;
}
void CMyPropertySheet::RepositionToolbars()
{
if(m_wndToolBar)
{
m_wndToolBar.GetToolBarCtrl().ModifyStyleEx(SWP_NOMOVE | SWP_NOREPOSITION, SWP_SHOWWINDOW);
CSize SizeToolBar;
m_wndToolBar.GetToolBarCtrl().GetMaxSize(&SizeToolBar);
CRect rcDlg;
GetClientRect(&rcDlg);
int iWidth = 0;
int iHeight = 0;
iWidth = SizeToolBar.cx;
iHeight = SizeToolBar.cy;
int iX = rcDlg.right-iWidth;
int iY = 0;
m_wndToolBar.GetToolBarCtrl().MoveWindow(iX, iY, iWidth, iHeight);
}
}
Any help would be highly appreciable.
Regards,
Paresh.
|
|
|
|
|
I was wondering if we can call a remote object (over tcp) hosted in a .net service from native c++
Please through some light on this.
Thanks,
Srini
|
|
|
|
|
How do i implement a marquee in a dialog based application. i want to do the horizontal way. i have seen the vertical application available here in codeproject.
|
|
|
|
|
You can use of WM_TIMER for it.
|
|
|
|
|
can u explain a little more in detail?
|
|
|
|
|
If you have vertical application available you just need to change the co-ordinates
instead of changing y co-ordinate change x coordinate and keep y coordinate fixed.
Regards,
Sandip.
|
|
|
|
|