Tell me exactly how to do that. All I know that I have to add an icon to toolbar. But hopefully you can tell me what else to do
Oh, and I'm using Microsoft Visual Studio .NET 2003 and DC++ 0.403 source now...
So it would be something like "EasyDC++"
Moderator: Moderators
Makemies wrote:I'm pretty lazy so it would be great to have a button to refresh filelist etc.
Tell me exactly how to do that.
Code: Select all
if(ShareManager::getInstance()->refresh() && !anyMF->ctrlToolbar.IsButtonChecked(IDC_TOOLBAR_REFRESH)) {
anyMF->ctrlToolbar.CheckButton(IDC_TOOLBAR_REFRESH,true);
Code: Select all
fatal error C1075: end of file found before the left brace '{' at 'windows\MainFrm.cpp(512)' was matched
fatal error C1004: unexpected end of file found
error C2601: 'MainFrame::updateTray' : local function definitions are illegal
error C2601: 'MainFrame::updateShutdown' : local function definitions are illegal
error C2601: 'MainFrame::UpdateLayout' : local function definitions are illegal
error C2601: 'MainFrame::setNormalTrayIcon' : local function definitions are illegal
error C2601: 'MainFrame::OnViewTransferView' : local function definitions are illegal
error C2601: 'MainFrame::OnViewToolBar' : local function definitions are illegal
error C2601: 'MainFrame::OnViewStatusBar' : local function definitions are illegal
error C2601: 'MainFrame::onUploadQueue' : local function definitions are illegal
error C2601: 'MainFrame::onTrayIcon' : local function definitions are illegal
error C2601: 'MainFrame::onToolbarAway' : local function definitions are illegal
error C2601: 'MainFrame::onSize' : local function definitions are illegal
error C2601: 'MainFrame::onServerSocket' : local function definitions are illegal
error C2601: 'MainFrame::onRefreshFileList' : local function definitions are illegal
error C2601: 'MainFrame::onRecents' : local function definitions are illegal
error C2601: 'MainFrame::onOpenFileList' : local function definitions are illegal
error C2601: 'MainFrame::onLink' : local function definitions are illegal
error C2601: 'MainFrame::onImport' : local function definitions are illegal
error C2601: 'MainFrame::onGetToolTip' : local function definitions are illegal
error C2601: 'MainFrame::onFinishedUploads' : local function definitions are illegal
error C2601: 'MainFrame::onFinished' : local function definitions are illegal
error C2601: 'MainFrame::onEndSession' : local function definitions are illegal
error C2601: 'MainFrame::onCloseDisconnected' : local function definitions are illegal
error C2601: 'MainFrame::OnClose' : local function definitions are illegal
error C2601: 'MainFrame::onAppCommand' : local function definitions are illegal
error C2601: 'MainFrame::onActivateApp' : local function definitions are illegal
error C2601: 'MainFrame::on' : local function definitions are illegal
error C2601: 'MainFrame::on' : local function definitions are illegal
error C2601: 'MainFrame::on' : local function definitions are illegal
error C2601: 'MainFrame::on' : local function definitions are illegal
error C2601: 'MainFrame::autoConnect' : local function definitions are illegal
error C2447: '{' : missing function header (old-style formal list?)
error C2296: '&&' : illegal, left operand has type 'void'
error C2180: controlling expression has type 'void'
error C2143: syntax error : missing ';' before '{'
error C2059: syntax error : 'if'
error C2059: syntax error : 'else'
Makemies wrote:What next? Did I do everything wrong?
EDIT: I did something else and now i get these errors:Code: Select all
fatal error C1075: end of file found before the left brace '{' at 'windows\MainFrm.cpp(512)' was matched
fatal error C1004: unexpected end of file found
Code: Select all
ctrlUsers.setSortColumn(COLUMN_NICK);Users browsing this forum: Google [Bot] and 0 guests