Restructure repository to include all source folders
Move git root from Client/ to src/ to track all source code: - Client: Game client source (moved to Client/Client/) - Server: Game server source - GameTools: Development tools - CryptoSource: Encryption utilities - database: Database scripts - Script: Game scripts - rylCoder_16.02.2008_src: Legacy coder tools - GMFont, Game: Additional resources 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
56
Server/ToolProject/PacketDecoder/FindFFEdit.cpp
Normal file
56
Server/ToolProject/PacketDecoder/FindFFEdit.cpp
Normal file
@@ -0,0 +1,56 @@
|
||||
// FindFFEdit.cpp : <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>Դϴ<D4B4>.
|
||||
//
|
||||
|
||||
#include "stdafx.h"
|
||||
#include "PacketDecoder.h"
|
||||
#include "FindFFEdit.h"
|
||||
#include ".\findffedit.h"
|
||||
|
||||
|
||||
// CFindFFEdit
|
||||
|
||||
IMPLEMENT_DYNAMIC(CFindFFEdit, CEdit)
|
||||
CFindFFEdit::CFindFFEdit()
|
||||
{
|
||||
}
|
||||
|
||||
CFindFFEdit::~CFindFFEdit()
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
BEGIN_MESSAGE_MAP(CFindFFEdit, CEdit)
|
||||
ON_WM_KEYDOWN()
|
||||
END_MESSAGE_MAP()
|
||||
|
||||
|
||||
|
||||
// CFindFFEdit <20><EFBFBD><DEBD><EFBFBD> ó<><C3B3><EFBFBD><EFBFBD><EFBFBD>Դϴ<D4B4>.
|
||||
|
||||
|
||||
void CFindFFEdit::OnKeyDown(UINT nChar, UINT nRepCnt, UINT nFlags)
|
||||
{
|
||||
// TODO: <20><><EFBFBD> <20><EFBFBD><DEBD><EFBFBD> ó<><C3B3><EFBFBD><EFBFBD> <20>ڵ带 <20>߰<EFBFBD> <20><>/<2F>Ǵ<EFBFBD> <20>⺻<EFBFBD><E2BABB><EFBFBD><EFBFBD> ȣ<><C8A3><EFBFBD>մϴ<D5B4>.
|
||||
|
||||
if (nChar == VK_F3)
|
||||
{
|
||||
CString szContents;
|
||||
GetWindowText(szContents);
|
||||
|
||||
szContents.MakeUpper();
|
||||
|
||||
int nFoundPos = szContents.Find(_T("FF"), LOWORD(CharFromPos(GetCaretPos())));
|
||||
if (-1 == nFoundPos)
|
||||
{
|
||||
SetSel(0, 0);
|
||||
nFoundPos = szContents.Find(_T("FF"), LOWORD(CharFromPos(GetCaretPos())));
|
||||
}
|
||||
|
||||
if (0 <= nFoundPos)
|
||||
{
|
||||
SetSel(nFoundPos, nFoundPos + 2);
|
||||
}
|
||||
}
|
||||
|
||||
CEdit::OnKeyDown(nChar, nRepCnt, nFlags);
|
||||
}
|
||||
Reference in New Issue
Block a user